Run tests
Build and run G+Smo unit tests, optionally filtered to a suite/test/file prefix. Use after any code change to verify correctness; prefer a filtered run for speed, full run for final verification.From its SKILL.md
npx -y skills add gismo/gsAgents --skill run-testsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.4 KB, as published. Nobody here has run it
Build the unittests target and run it:
bash ${CLAUDE_PLUGIN_ROOT}/skills/run-tests/scripts/run_unittests.sh [prefix ...]
- Selectors are prefix-matched against suite names, test names, and test source file names (see
unittests/main.cpp). Suites are conventionally named after their file, e.g. suitegsMatrixOp_testlives inunittests/gsMatrixOp_test.cpp. Sorun_unittests.sh gsKnotVectorruns all knot-vector tests. - No selector = the full suite (use for final verification; it is slower).
- If the selector matches nothing the binary reports "Did not find any matching test" and exits non-zero — check your prefix against the
unittests/*_test.cpp(oroptional/<module>/unittests/*_test.cpp) file names. --no-buildas the first argument skips the build step (only when you just builtunittestsyourself).- Last line is
STATUS: OK|FAIL.
Notes:
- Submodule tests (e.g. gsKLShell's) compile into the same
unittestsbinary when the submodule is enabled, so the same filtering works for them. - The build requires
GISMO_BUILD_UNITTESTS=ONin the configured build dir; the script tells you if that's the likely failure.