What problem does it solve?
Writing reliable gtest suites for Gear/Vara Sails applications is challenging due to Sails-specific routing quirks, raw SCALE byte handling, block progression requirements, and common Rust edition-specific pitfalls that break generic Rust tests. This skill eliminates the trial-and-error of building Sails-compatible test workflows by providing a standardized, guided loop for feature verification, debugging, and regression coverage.
Core Features & Use Cases
- Standardized Sails gtest workflow: Provides a step-by-step verification loop that prioritizes generated clients and explicit gtest evidence before moving to live-network testing.
- Edge case and pitfall guidance: Includes fixes for common breaking issues like Rust 2024 listener lifetime errors, incorrect program balance assertions, and missing block advancement after send operations.
- Use case: Use this skill when building or modifying a Sails app to verify new feature behavior, debug test failures, or add regression coverage before proceeding to local-node smoke testing.
Quick Start
Use the sails-gtest skill to write and run a gtest suite for your new Sails feature, capture passing test results, and route to local smoke testing once all tests are green.