Testing and Automation
End-to-end testing
awesome-test-automation/javascript-test-automation.md at master ยท atinfo/awesome-test-automation
ChromeDriver - WebDriver for Chrome
WebdriverIO ยท Next-gen browser and mobile automation test framework for Node.js | WebdriverIO
GitHub - webdriverio/webdriverio: Next-gen browser and mobile automation test framework for Node.js
JavaScript End to End Testing Framework
GitHub - cypress-io/cypress: Fast, easy and reliable testing for anything that runs in a browser.
Svelte and Testing Library integrations
https://github.com/bahmutov/cypress-svelte-unit-test
https://testing-library.com/docs/cypress-testing-library/intro
Unit testing
Jest
Async
https://jestjs.io/docs/en/tutorial-async#asyncawait
Mocking
https://jestjs.io/docs/en/mock-functions
https://jestjs.io/docs/en/jest-object#mock-functions
https://jestjs.io/docs/en/mock-function-api
https://jestjs.io/docs/en/es6-class-mocks
https://jestjs.io/docs/en/manual-mocks
https://jestjs.io/docs/en/jest-object#mock-modules
https://jestjs.io/docs/en/timer-mocks
https://jestjs.io/docs/en/jest-object#mock-timers
Articles
https://www.emgoto.com/mocking-with-jest/
https://luetkemj.github.io/170421/mocking-modules-in-jest
https://medium.com/trabe/mocking-different-values-for-the-same-module-using-jest-a7b8d358d78b
https://github.com/facebook/jest/issues/936
Svelte component testing
Dainte
https://github.com/nathancahill/dainte
https://nathancahill.com/dainte/introducing
Svelte/DOM Testing library
https://github.com/testing-library/svelte-testing-library
https://testing-library.com/docs/svelte-testing-library/intro
https://testing-library.com/docs/dom-testing-library/intro
Jest tooling
https://github.com/rspieker/jest-transform-svelte
https://github.com/ktsn/svelte-jest
https://github.com/pngwn/svelte-test
GraphQL testing
https://www.apollographql.com/docs/apollo-server/testing/mocking/
https://www.apollographql.com/docs/apollo-server/testing/testing/
Contract and snapshot-based testing
https://jestjs.io/docs/en/snapshot-testing
https://netflix.github.io/pollyjs/#/,ย https://github.com/Netflix/pollyjs
https://pact.io/,ย https://github.com/pact-foundation/pact-js
https://github.com/flickr/yakbak
https://github.com/linkedin/sepia
https://github.com/ikatyang/jest-playback
https://github.com/mbaertschi/node-vcr
Property-based testing
https://jsverify.github.io/,ย https://github.com/jsverify/jsverify
https://github.com/dubzzz/fast-check
http://leebyron.com/testcheck-js/,ย https://github.com/leebyron/testcheck-js
https://www.crockford.com/jscheck.html,ย https://github.com/douglascrockford/JSCheck
https://github.com/danr/proptest
https://github.com/hychen/ke-e
Fuzzing
https://github.com/marmelab/gremlins.js
https://github.com/fuzzitdev/jsfuzz
https://github.com/connor4312/js-fuzz
https://github.com/MozillaSecurity/octo
https://github.com/NodeGuy/JavaScript-fuzz
http://apowers313.github.io/js-fuzzing/index.html,ย https://github.com/apowers313/js-fuzzing
Node Testing
RobotJS - Node.js Desktop Automation
GitHub - octalmage/robotjs: Node.js Desktop Automation.