ArnaudBuchholz / ui5-test-runner

A test runner for UI5 applications enabling parallel execution of tests.
https://arnaudbuchholz.github.io/ui5-test-runner/
MIT License
19 stars 9 forks source link

Explore the possibility to integrate other testing frameworks #104

Open ArnaudBuchholz opened 1 week ago

ArnaudBuchholz commented 1 week ago

Is your feature request related to a problem? Please describe. A team contacted me to replace karma with ui5-test-runner. However, they are using Jasmine for unit tests. This is currently not supported.

Describe the solution you'd like Exploring Jasmine documentation, I see that the framework exposes a JsAPIReporter that enables tracking of the tests. One idea would be to enable the injection of additional hooks which produce the same output for ui5-test-runner. Ideally, the progress report should be preserved to let the user know where the tests are (also to format the test results).

Describe alternatives you've considered In the worst situation, a hook could be designed to only report the test results.

ArnaudBuchholz commented 4 days ago

In order to prepare the integration of Jasmine, the runner must be decoupled from qUnit: