Automated Testing and JavaScript
summary
Overview of automated testing in JavaScript covering unit tests with Jest; structural/static analysis using ESLint and CodeClimate (including TypeScript support); integration/functional tests with Jest and React Testing Library; end-to-end tests with Cypress; acceptance tests with CodeceptJS; mutation testing using Stryker; code coverage reporting (JUnit/Codecov); Continuous Integration examples using GitHub Actions for Jest (coverage) and Cypress; and enforcing quality via Git pre-commit hooks with Husky.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 2:06Types of automated tests
- 6:00Unit vs integration tests
- 10:02Code coverage
- 13:58Static analysis
- 16:48Black box testing
- 19:19Behavior-driven development
- 23:57Mutation testing
- 26:04Snapshot tests
- 28:33Test runners and mocks
- 32:13Good unit tests
- 36:27Test-driven development
- 40:24Test suite structure
- 44:38Edge cases
- 47:06Bugs and tests
- 48:10Evaluating open-source projects
- 49:15Q&A
