Skip to content

Tests from scenarios - testing suite tooling #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

wende
Copy link
Contributor

@wende wende commented Apr 25, 2025

  • Tests are now defined as a parameterized list (an array of tuples with inputs, expected outputs, and options), allowing for easy addition of new cases and ensuring broader coverage across different input/output combinations (e.g., file → file, file → webrtc, file → whip, etc.).
  • This reduces code duplication and makes the test suite more maintainable and readable.
  • Allows for more tests to be added without unnecessary boilerplate
  • The new tests leverage the new Boombox.async/2 API, which improves how async flows (like streaming protocols or chained pipelines) are tested.

@wende wende linked an issue Apr 25, 2025 that may be closed by this pull request
@wende wende changed the base branch from master to boombox-async-presetup April 25, 2025 12:28
@wende wende changed the base branch from boombox-async-presetup to master April 25, 2025 12:29
@wende wende marked this pull request as ready for review May 26, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generalize testing of all source and sink permutations
1 participant