diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 18:15:01 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 18:15:01 +0100 |
| commit | 5c9286af850f9a3335d294c7c2e100104741b296 (patch) | |
| tree | b2efce19c426b38c9578b6268a3f8b86adbc8265 /HOWTO.md | |
| parent | 0e9cfeb5855939ae5542943805dec8619ecc3c2d (diff) | |
add testing for sequence
Diffstat (limited to 'HOWTO.md')
| -rw-r--r-- | HOWTO.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -83,16 +83,18 @@ If you are on macOS and want to test the Windows build: Note: WebGPU support in Wine requires a Vulkan-capable backend (like MoltenVK on macOS). Note2: make sure you run the script `./scripts/fetch_win_deps.sh` before, to install Win64 dependencies. -## Testing +### Testing **Commit Policy**: Always run tests before committing. Refer to `CONTRIBUTING.md` for details. -To build and run the tests, you need to enable the `DEMO_BUILD_TESTS` option in CMake. +To build and run the tests, you need to enable the `DEMO_BUILD_TESTS` option in CMake. Refer to the "Developer Build (All Options)" section for the easiest way to enable this. Available test suites: * `HammingWindowTest`: Verifies the properties of the Hamming window function. +* `MathUtilsTest`: Verifies basic math utilities. * `SynthEngineTest`: Verifies the core functionality of the audio synthesizer. * `SpectoolEndToEndTest`: Performs an end-to-end test of the `spectool` by generating a WAV file, analyzing it, and verifying the output. +* `SequenceSystemTest`: Tests the logic of the sequence and effect system (activation, timing, priority), but **not** actual GPU rendering output, as this requires extensive mocking. ```bash cmake -S . -B build -DDEMO_BUILD_TESTS=ON |
