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

Merged
merged 10 commits into from
Jun 24, 2025

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
@wende wende requested a review from mat-hek May 27, 2025 10:22
@mat-hek mat-hek requested review from FelonEkonom and removed request for mat-hek June 13, 2025 09:33
@mat-hek mat-hek force-pushed the boombox-test-scenarios-dsl branch from db4799c to d4de029 Compare June 13, 2025 09:51
@FelonEkonom FelonEkonom self-assigned this Jun 23, 2025
@FelonEkonom FelonEkonom merged commit 5a8355e into master Jun 24, 2025
0 of 3 checks passed
@FelonEkonom FelonEkonom deleted the boombox-test-scenarios-dsl branch June 24, 2025 09:48
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
2 participants