Skip to content

Create basic test for command-line tools #4

Description

@gavv

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions