We have created this repo for various real-time integration tests for public API. See #1 for details.
Among other things, it would be great to add integration tests for our command-line tools. Currently they are not covered with tests, and sometimes a breakage remains unnoticeable for a while.
This issue is for creating the very first test for them, to start with something simple. The test should generate a WAV file, run roc-send to send it to network, and run roc-recv to receive it from network and write to a local file. Then the test should analyze the received file and compare it with the sent one.
Again, see #1 for details on this comparison. The files wont be absolutely identical of course.
To run tools, we could use a library like subprocess. Good libraries for WAV files are dr_wav and libsndfile.
We have created this repo for various real-time integration tests for public API. See #1 for details.
Among other things, it would be great to add integration tests for our command-line tools. Currently they are not covered with tests, and sometimes a breakage remains unnoticeable for a while.
This issue is for creating the very first test for them, to start with something simple. The test should generate a WAV file, run roc-send to send it to network, and run roc-recv to receive it from network and write to a local file. Then the test should analyze the received file and compare it with the sent one.
Again, see #1 for details on this comparison. The files wont be absolutely identical of course.
To run tools, we could use a library like subprocess. Good libraries for WAV files are dr_wav and libsndfile.
Related docs: