-
Notifications
You must be signed in to change notification settings - Fork 83
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
test: Add jest testsuite with xmltest
cases
#112
Commits on Sep 4, 2020
-
test: Add jest testsuite with
xmltest
casesThe only thing the current test suite does is to run ton's of cases and take a snapshot of the output and errors, so that hopefully a test will fail if we make a breaking change. (It doesn't cover breaking API changes of course, but sets the basis since it adds jest and any added test will be part of CI testing.) Added devDependencies: - https://npms.io/search?q=jest - https://github.com/karfau/xmltest and it's peerDeps - https://npms.io/search?q=yauzl - https://npms.io/search?q=get-stream New helper Module `configure-test-parser.js`: To simplify the very common use case of testing DOMParser results
Configuration menu - View commit details
-
Copy full SHA for a8bfc1e - Browse repository at this point
Copy the full SHA a8bfc1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad88291 - Browse repository at this point
Copy the full SHA ad88291View commit details -
test: Only run jest for stryker but using commandRunner
(Couldn't make the pure jestRunner solution work)
Configuration menu - View commit details
-
Copy full SHA for 5124cbf - Browse repository at this point
Copy the full SHA 5124cbfView commit details
Commits on Sep 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e351f18 - Browse repository at this point
Copy the full SHA e351f18View commit details -
Configuration menu - View commit details
-
Copy full SHA for f630919 - Browse repository at this point
Copy the full SHA f630919View commit details -
test: Fix "binary" chars in snapshots and minimize snapshots
Latest xmltest comes with a helper to replace those nasty chars with a hex representation. Dropped `.gitattributes`
Configuration menu - View commit details
-
Copy full SHA for f50ef64 - Browse repository at this point
Copy the full SHA f50ef64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 420cfc5 - Browse repository at this point
Copy the full SHA 420cfc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c81e331 - Browse repository at this point
Copy the full SHA c81e331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 243328f - Browse repository at this point
Copy the full SHA 243328fView commit details
Commits on Sep 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 42c986e - Browse repository at this point
Copy the full SHA 42c986eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f3c197 - Browse repository at this point
Copy the full SHA 9f3c197View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c22168 - Browse repository at this point
Copy the full SHA 9c22168View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8faf231 - Browse repository at this point
Copy the full SHA 8faf231View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ec005e - Browse repository at this point
Copy the full SHA 8ec005eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a2f1e8 - Browse repository at this point
Copy the full SHA 4a2f1e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32d9503 - Browse repository at this point
Copy the full SHA 32d9503View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6b84a0 - Browse repository at this point
Copy the full SHA b6b84a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e03ad8d - Browse repository at this point
Copy the full SHA e03ad8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85d8c41 - Browse repository at this point
Copy the full SHA 85d8c41View commit details -
test: Restore adding
actual
, andexpected
when differentThis way tests fail if `actual` changes or even becomes different from or equal to `expected`.
Configuration menu - View commit details
-
Copy full SHA for cc3ef75 - Browse repository at this point
Copy the full SHA cc3ef75View commit details -
rename test/xmltest/minimize-snapshot.js -> test/xmltest/generate-sna…
…pshot.js & update comments
Configuration menu - View commit details
-
Copy full SHA for e40c15e - Browse repository at this point
Copy the full SHA e40c15eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e6da95 - Browse repository at this point
Copy the full SHA 3e6da95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 086e4de - Browse repository at this point
Copy the full SHA 086e4deView commit details
Commits on Sep 15, 2020
-
apply some Prettier formatting in test/xmltest
by the following command: prettier --use-tabs --no-semi --single-quote --trailing-comma none --print-width 90 --write test/xmltest
Configuration menu - View commit details
-
Copy full SHA for ddefe97 - Browse repository at this point
Copy the full SHA ddefe97View commit details -
apply some Prettier formatting in test/get-test-parser.js
prettier --use-tabs --no-semi --single-quote --trailing-comma none --print-width 90 --write test/get-test-parser.js
Configuration menu - View commit details
-
Copy full SHA for 25074c1 - Browse repository at this point
Copy the full SHA 25074c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14c94eb - Browse repository at this point
Copy the full SHA 14c94ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for e39f4f5 - Browse repository at this point
Copy the full SHA e39f4f5View commit details