warp-pipe/tests/README.md
2026-01-31 11:21:28 -07:00

34 lines
623 B
Markdown

# Tests
Milestone 0 test instructions are tracked in docs/milestone-0.md.
## Build
```
cmake -S . -B build -DWARPPIPE_BUILD_TESTS=ON
cmake --build build
```
Catch2 v3 is required when tests are enabled.
## Run
```
./build/warppipe_tests
```
GUI tests (requires Qt6, `-DWARPPIPE_BUILD_GUI=ON`):
```
./build/warppipe-gui-tests
```
## Notes
When tests are enabled, the library is compiled with `WARPPIPE_TESTING`, which exposes test-only helpers in the public header.
Planned coverage:
- Missing PipeWire daemon
- Missing link-factory module
- Missing metadata module
- Invalid media class in virtual node creation