Open ArnaudBuchholz opened 1 week ago
In order to prepare the integration of Jasmine
, the runner must be decoupled from qUnit:
qunit-hooks
must be renamed to hooks
module
must be renamed to suite
(as a container of tests)addTestPages
must provide a type (qunit
, opa
, ...)begin
details must be normalizedtestStart
, log
and testDone
must provide suiteId
and testId
done
report must be normalizedqunitPages
must be renamed to pages
(⚠️BREAKING CHANGE)report
and progress
HTML page must adapt to the new format (⚠️BREAKING CHANGE)qunit-hooks
/ qunit-intercept
/ qunit-redirect
)
Is your feature request related to a problem? Please describe. A team contacted me to replace
karma
withui5-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 forui5-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.