~/talk

Automated Testing and JavaScript

TalkinPolishat 4Dev LIVE 2021 · 2021-10-27..10-28· [javascript, testing]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 2:06Types of automated tests
  3. 6:00Unit vs integration tests
  4. 10:02Code coverage
  5. 13:58Static analysis
  6. 16:48Black box testing
  7. 19:19Behavior-driven development
  8. 23:57Mutation testing
  9. 26:04Snapshot tests
  10. 28:33Test runners and mocks
  11. 32:13Good unit tests
  12. 36:27Test-driven development
  13. 40:24Test suite structure
  14. 44:38Edge cases
  15. 47:06Bugs and tests
  16. 48:10Evaluating open-source projects
  17. 49:15Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.