summaryrefslogtreecommitdiff
path: root/HOWTO.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-27 22:26:27 +0100
committerskal <pascal.massimino@gmail.com>2026-01-27 22:26:27 +0100
commit364d9e60e3c27cb131a598fe5f83deb74493319f (patch)
tree09d2dbb23f537bccad81b2c6ccdb25dd9b52ea46 /HOWTO.md
parentf3a68c76a32c7467b0c9493e7f4cc16de2b2c227 (diff)
test(spectool): Add end-to-end test for analysis tool
Adds a new CTest unit test that performs a full, end-to-end verification of the 'spectool analyze' command. The test programmatically generates a sine wave, saves it as a .wav file, executes the spectool executable as a subprocess to analyze the wave, and then verifies the integrity of the resulting .spec file. This ensures the analysis pipeline (WAV decoding, windowing, FDCT, and file I/O) works correctly.
Diffstat (limited to 'HOWTO.md')
-rw-r--r--HOWTO.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/HOWTO.md b/HOWTO.md
index 6a4d723..d948e59 100644
--- a/HOWTO.md
+++ b/HOWTO.md
@@ -30,6 +30,7 @@ To build and run the tests, you need to enable the `DEMO_BUILD_TESTS` option in
Available test suites:
* `HammingWindowTest`: Verifies the properties of the Hamming window function.
* `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.
```bash
cmake -S . -B build -DDEMO_BUILD_TESTS=ON