pytest-dev / pytest-html

Plugin for generating HTML reports for pytest results
Other
688 stars 234 forks source link

Migrate JavaScript test framework to more popular alternative #432

Open gnikonorov opened 3 years ago

gnikonorov commented 3 years ago

We currently use QUnit for unit testing our JavaScript.

I propose that we move to a more modern testing framework ( the top five listed here seem to pop up a bit ).

I would like to add that any library we migrate to should have good support for testing URL parameters. QUnit forces the definition of one test script per URL which I think isn't ideal, since it's pretty cumbersome: https://stackoverflow.com/questions/27388596/pass-url-parameter-to-qunit-test-using-grunt

As a follow up, tests should be written for all URL parameters, since we currently have 0 tests for them.

@BeyondEvil maybe this is something we could tackle as part of the next gen migration?

BeyondEvil commented 3 years ago

@BeyondEvil maybe this is something we could tackle as part of the next gen migration?

Yes!