Skip to content
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

[ONEM-25820] Major refactor #21

Merged
merged 3 commits into from
Jul 27, 2022
Merged

[ONEM-25820] Major refactor #21

merged 3 commits into from
Jul 27, 2022

Conversation

maciej-kolanski-red
Copy link
Contributor

This change aims to simplify the codebase, especially in the area of
tests declaration.

Tests declaration has been moved into |suites.js|, where each test suite
explicitly declares its own tests. There are still some helper functions
for creation of multiple tests at once (makeMvtMediaTests), but I
personally find it much more readable. Current approach also gives us
much greater control when it comes tests selection and parametrization
(e.g. now we can mark some tests unstable on a given test suite).

In addition:

  • Declare name for each stream, so it can be accessed directly
  • Drop unnecessary attributes from stream mediaStreams.js
  • Greatly simplify profiles.js
  • Drop blocklist - now unstable tests are declared in suites.js
  • Rework codecSupportTests.js
  • Rework coverage.js
  • Extend readme

This change aims to simplify the codebase, especially in the area of
tests declaration.

Tests declaration has been moved into |suites.js|, where each test suite
explicitly declares its own tests. There are still some helper functions
for creation of multiple tests at once (makeMvtMediaTests), but I
personally find it much more readable. Current approach also gives us
much greater control when it comes tests selection and parametrization
(e.g. now we can mark some tests unstable on a given test suite).

In addition:
- Declare name for each stream, so it can be accessed directly
- Drop unnecessary attributes from stream mediaStreams.js
- Greatly simplify profiles.js
- Drop blocklist - now unstable tests are declared in suites.js
- Rework codecSupportTests.js
- Rework coverage.js
- Extend readme
@lukasz-rutkowski-red lukasz-rutkowski-red merged commit 6fa204e into main Jul 27, 2022
@lukasz-rutkowski-red lukasz-rutkowski-red deleted the refactor/3 branch October 10, 2022 10:29
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.

2 participants