Agent Skill
2/7/2026test
Run all tests for the Gambit game engine. Use when the user wants to run tests, verify functionality, or check that code changes haven't broken anything.
F
fwfsoft
0GitHub Stars
1Views
npx skills add FWFsoft/gambit
SKILL.md
| Name | test |
| Description | Run all tests for the Gambit game engine. Use when the user wants to run tests, verify functionality, or check that code changes haven't broken anything. |
name: test description: Run all tests for the Gambit game engine. Use when the user wants to run tests, verify functionality, or check that code changes haven't broken anything.
Run Tests
Builds the project (if needed) and runs all tests using CTest.
Instructions
-
Run tests:
make test -
Run tests with coverage:
make test-coverage
Test Structure
Tests are organized into modular suites:
PlayerMovement- Player movement and bounds testsNetworkProtocol- Network serialization/deserialization testsEventBus- Event bus pub/sub testsInputSystem- Input handling testsRemotePlayerInterpolation- Remote player interpolation testsClientPrediction- Client-side prediction tests
Expected Output
On success, you should see:
100% tests passed, 0 tests failed out of 6
On failure, CTest will show which test suites failed with error details.
Notes
- Tests use CTest for better isolation and parallel execution
- Each test suite is a separate executable in
build/test_* - Run specific tests with:
cd build && ctest -R <TestName> - Run tests in parallel with:
cd build && ctest -j8 - Coverage reports available at
build/coverage/index.html
Skills Info
Original Name:testAuthor:fwfsoft
Download