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

Adds a functional testsuite based on the Karma framework. #4281

Merged
merged 7 commits into from
Sep 13, 2023

Conversation

dsilhavy
Copy link
Collaborator

This PR adds a functional testsuite based on the Karma framework. I have been using this for automated regression tests next to our existing functional testsuite that is executed via CI/CD.

The Karma based testsuite includes additional tests such as checking for redundant segment downloads and gap handling. For that reason, static MPDs have been created that simulate situations such as gaps in the timeline.

As the Karma testrunner is deprecated, future work will focus on using WebTestrunner instead. Moreover, the configuration of the tests should be improved. In addition, new testcases will be added to cover scenarios such as limiting the bitrate by portal size and defining a min/max bitrate.
All these additions can be made as part of the work on version 5.x.

As I was using the testuite internally for checking new features and upcoming releases, I am adding this already in version 4.7.2.

@dsilhavy dsilhavy added this to the 4.7.2 milestone Sep 13, 2023
@dsilhavy dsilhavy merged commit 78c438e into development Sep 13, 2023
1 check passed
@dsilhavy dsilhavy deleted the feature/karmaFunctionalTests branch September 13, 2023 13:59
eirikbjornr pushed a commit to bbc/dash.js that referenced this pull request Feb 14, 2024
…try-Forum#4281)

* Adds a functional testsuite based on the Karma framework.
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.

1 participant