help wantedtesting
Repository metrics
- Stars
- (10 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Use a testing framework (e.g. mocha or karma) to test the search automatically.
example tests with mode, search terms, kanji that should be found:
wk,coffin sun,者
rtk,old man sun,者
wk,mustache scooter,過&適
For that, set wtk_search(query, {updateHTMLElements: false}.
(of course we can also add browser testing where it tests interacting with HTML elements, but one step at a time)
Maybe also integrate the tests into the build / continuous integration (Github actions, so that the build only passes if the tests pass).
This could also be a nice issue for volunteer contributors.