testing
Installation
SKILL.md
Testing Usd Optimize
What this skill covers
Search this doc for keywords like pytest, doctest, python, coverage, gcov, -k, -s, --config to jump.
- Run All Tests —
./repo.sh test. - Test Suites —
cpp,pythonand how to scope a run. - Build Config — running tests in
releasevsdebug. - Running Individual Tests — Doctest filters and Python suite limitations.
- Test Locations — where each suite's tests live in the tree.
- Code Coverage (Linux only) — gcov collection workflow.
Companion skills: build (must run before tests), new-validator (authoring validator rules and their test_validators_* tests) and run-validators (running the performance validators against a USD asset).
The repo ships two equivalent entry scripts:
./repo.shfor Linux/bash-compatible shells andrepo.batfor Windowscmd.exe/PowerShell. They accept the same arguments — every example below shows both. Pick whichever matches the active shell.