| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:10c516a6-0302-178a-c330-2eee89b6d28e |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | E052:27224F:3F7AC:58593:6AFC83F8 |
| html-safe-nonce | e4539986046361045f7b02118e459b436140a80ba1c2046205d0b1a4d39751e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDUyOjI3MjI0RjozRjdBQzo1ODU5Mzo2QUZDODNGOCIsInZpc2l0b3JfaWQiOiI2NjIwMDk0NDM1Mjg5NzYwNzYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3a3109ab50bc46d30f5c320d706297a6ecd155174c90c912955e2d9657848aeb |
| hovercard-subject-tag | repository:366317840 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/AlexCodeLive/javascript-testing-best-practices |
| twitter:image | https://opengraph.githubassets.com/af95ce401691fd7f6723efde4b9c27e83a694ca23570ea0e9040f04b88551aac/AlexCodeLive/javascript-testing-best-practices |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af95ce401691fd7f6723efde4b9c27e83a694ca23570ea0e9040f04b88551aac/AlexCodeLive/javascript-testing-best-practices |
| og:image:alt | 📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (May 2021) - AlexCodeLive/javascript-testing-best-practices |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d46a5655e9473fb816927483229779c4a7f11d3e561d766e15fb1d37a04b09eb |
| turbo-cache-control | no-cache |
| go-import | github.com/AlexCodeLive/javascript-testing-best-practices git https://github.com/AlexCodeLive/javascript-testing-best-practices.git |
| octolytics-dimension-user_id | 82458001 |
| octolytics-dimension-user_login | AlexCodeLive |
| octolytics-dimension-repository_id | 366317840 |
| octolytics-dimension-repository_nwo | AlexCodeLive/javascript-testing-best-practices |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 195226340 |
| octolytics-dimension-repository_parent_nwo | goldbergyoni/javascript-testing-best-practices |
| octolytics-dimension-repository_network_root_id | 195226340 |
| octolytics-dimension-repository_network_root_nwo | goldbergyoni/javascript-testing-best-practices |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d859197783951bb05ba12a699160fa14b396fe3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAlexCodeLive%2Fjavascript-testing-best-practices |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAlexCodeLive%2Fjavascript-testing-best-practices |
| Sign up | https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=AlexCodeLive%2Fjavascript-testing-best-practices |
| Reload | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| Reload | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| Reload | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| AlexCodeLive | https://redirect.github.com/AlexCodeLive |
| javascript-testing-best-practices | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| Code | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| Pull requests | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/pulls |
| Actions | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/actions |
| Projects | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/projects |
| Security and quality | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/security |
| Insights | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/pulse |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| javascript-testing-best-practices | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| goldbergyoni/javascript-testing-best-practices | https://redirect.github.com/goldbergyoni/javascript-testing-best-practices |
| Notifications | https://redirect.github.com/login?return_to=%2FAlexCodeLive%2Fjavascript-testing-best-practices |
| Fork0 (0) | https://redirect.github.com/login?return_to=%2FAlexCodeLive%2Fjavascript-testing-best-practices |
| Star0 (0) | https://redirect.github.com/login?return_to=%2FAlexCodeLive%2Fjavascript-testing-best-practices |
| testjavascript.com/ | https://testjavascript.com/ |
| Readme | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#readme-ov-file |
| MIT license | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#MIT-1-ov-file |
| Activity | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/activity |
| 0 forks | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/forks |
| Report repository | https://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FAlexCodeLive%2Fjavascript-testing-best-practices&report=AlexCodeLive+%28user%29 |
| Branches | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/branches |
| Tags | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/tags |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/branches |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/tags |
| 764 Commits | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/commits/master/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/commits/master/ |
| .operations | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/tree/master/.operations |
| .operations | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/tree/master/.operations |
| assets | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/tree/master/assets |
| assets | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/tree/master/assets |
| .DS_Store | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/.DS_Store |
| .DS_Store | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/.DS_Store |
| .all-contributorsrc | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/.all-contributorsrc |
| .all-contributorsrc | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/.all-contributorsrc |
| LICENSE | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/LICENSE |
| LICENSE | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/LICENSE |
| index.js | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/index.js |
| index.js | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/index.js |
| package.json | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/package.json |
| package.json | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/package.json |
| readme-es.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-es.md |
| readme-es.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-es.md |
| readme-pl.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-pl.md |
| readme-pl.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-pl.md |
| readme-pt-br.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-pt-br.md |
| readme-pt-br.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-pt-br.md |
| readme-zh-CN.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-zh-CN.md |
| readme-zh-CN.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-zh-CN.md |
| readme.kr.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme.kr.md |
| readme.kr.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme.kr.md |
| readme.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme.md |
| readme.md | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme.md |
| README | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| MIT license | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/jtbp-header-blue.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-why-this-guide-can-take-your-testing-skills-to-the-next-level |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-46-best-practices-super-comprehensive-and-exhaustive |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-advanced-goes-10000-miles-beyond-the-basics |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-full-stack-front-backend-ci-anything |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#written-by-yoni-goldberg |
| Testing Node.js & JavaScript From A To Z | https://www.testjavascript.com |
| 10 hours of video | https://www.testjavascript.com |
| Follow me on Twitter | https://twitter.com/goldbergyoni/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#translations---read-in-your-own-language |
| Chinese | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-zh-CN.md |
| Yves yao | https://github.com/yvesyao |
| Korean | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme.kr.md |
| Rain Byun | https://github.com/ragubyun |
| Polish | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-pl.md |
| Michal Biesiada | https://github.com/mbiesiad |
| Spanish | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-es.md |
| Miguel G. Sanguino | https://github.com/sanguino |
| Portuguese-BR | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/readme-pt-br.md |
| Iago Angelim Costa Cavalcante | https://github.com/iagocavalcante |
| Douglas Mariano Valero | https://github.com/DouglasMV |
| koooge | https://github.com/koooge |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#table-of-contents |
| Section 0: The Golden Rule | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-0%EF%B8%8F%E2%83%A3-the-golden-rule |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-0-the-golden-rule |
| Section 1: The Test Anatomy | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-1-the-test-anatomy-1 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-1-the-test-anatomy |
| Section 2: Backend | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-2%EF%B8%8F%E2%83%A3-backend-testing |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-2-backend |
| Section 3: Frontend | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-3%EF%B8%8F%E2%83%A3-frontend-testing |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-3-frontend |
| Section 4: Measuring Tests Effectiveness | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-4%EF%B8%8F%E2%83%A3-measuring-test-effectiveness |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-4-measuring-tests-effectiveness |
| Section 5: Continuous Integration | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-5%EF%B8%8F%E2%83%A3-ci-and-other-quality-measures |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-5-continuous-integration |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-0️⃣-the-golden-rule |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#️-0-the-golden-rule-design-for-lean-testing |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/headspace.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#ready-to-start |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-1-the-test-anatomy-1 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-11-include-3-parts-in-each-test-name |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-a-test-name-that-constitutes-3-parts |
| https://camo.githubusercontent.com/7d905b9eefbc23980b3cad447e76abadf0b02de120db0b0fa337cd037cd5dab2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-a-test-name-that-constitutes-3-parts-1 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-1-3-parts.jpeg |
| Roy Osherove - Naming standards for unit tests | https://osherove.com/blog/2005/4/3/naming-standards-for-unit-tests.html |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-12-structure-tests-by-the-aaa-pattern |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-a-test-structured-with-the-aaa-pattern |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://camo.githubusercontent.com/eb1a7198454d8a52fd4e593be2786181750b1073ea6ea3053ba73822bc657d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-no-separation-one-bulk-harder-to-interpret |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️13-describe-expectations-in-a-product-language-use-bdd-style-assertions |
| extending Jest matcher (Jest) | https://jestjs.io/docs/en/expect#expectextendmatchers |
| custom Chai plugin | https://www.chaijs.com/guide/plugins/ |
| https://camo.githubusercontent.com/eb1a7198454d8a52fd4e593be2786181750b1073ea6ea3053ba73822bc657d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-the-reader-must-skim-through-not-so-short-and-imperative-code-just-to-get-the-test-story |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-skimming-through-the-following-declarative-test-is-a-breeze |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-14-stick-to-black-box-testing-test-only-public-methods |
| boy who cried wolf | https://en.wikipedia.org/wiki/The_Boy_Who_Cried_Wolf |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-a-test-case-is-testing-the-internals-for-no-good-reason |
| https://camo.githubusercontent.com/eb1a7198454d8a52fd4e593be2786181750b1073ea6ea3053ba73822bc657d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-️15-choose-the-right-test-doubles-avoid-mocks-in-favor-of-stubs-and-spies |
| https://martinfowler.com/articles/mocksArentStubs.html |
| Read here a reminder about test doubles: mocks vs stubs vs spies | https://martinfowler.com/articles/mocksArentStubs.html |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-mocks-focus-on-the-internals |
| https://camo.githubusercontent.com/741928ff9e60e246798962806d0436197e3c2d15b66e8756d873b9b8e6705b70/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e6725323053696e6f6e2d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clapdoing-it-right-example-spies-are-focused-on-testing-the-requirements-but-as-a-side-effect-are-unavoidably-touching-to-the-internals |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-want-to-learn-all-these-practices-with-live-video |
| Testing Node.js & JavaScript From A To Z | https://www.testjavascript.com |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#visit-my-online-course-testing-nodejs--javascript-from-a-to-z |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️16-dont-foo-use-realistic-input-data |
| Faker | https://www.npmjs.com/package/faker |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-a-test-suite-that-passes-due-to-non-realistic-data |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clapdoing-it-right-example-randomizing-realistic-input |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-17-test-many-input-combinations-using-property-based-testing |
| see Fuzz Testing | https://en.wikipedia.org/wiki/Fuzzing |
| js-verify | https://github.com/jsverify/jsverify |
| testcheck | https://github.com/leebyron/testcheck-js |
| checkout fast-check | https://github.com/dubzzz/fast-check#readme |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-testing-many-input-permutations-with-fast-check |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-18-if-needed-use-only-short--inline-snapshots |
| snapshot testing | https://jestjs.io/docs/en/snapshot-testing |
| Inline Snapshot | https://jestjs.io/docs/en/snapshot-testing#inline-snapshots |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-coupling-our-test-to-unseen-2000-lines-of-code |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-expectations-are-visible-and-focused |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️19-avoid-global-test-fixtures-and-seeds-add-data-per-test |
| also known as ‘test fixture’ | https://en.wikipedia.org/wiki/Test_fixture |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-tests-are-not-independent-and-rely-on-some-global-hook-to-feed-global-db-data |
| https://camo.githubusercontent.com/eb1a7198454d8a52fd4e593be2786181750b1073ea6ea3053ba73822bc657d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-we-can-stay-within-the-test-each-test-acts-on-its-own-set-of-data |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-110-dont-catch-errors-expect-them |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-a-long-test-case-that-tries-to-assert-the-existence-of-error-with-try-catch |
| https://camo.githubusercontent.com/eb1a7198454d8a52fd4e593be2786181750b1073ea6ea3053ba73822bc657d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-a-human-readable-expectation-that-could-be-understood-easily-maybe-even-by-qa-or-technical-pm |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-111-tag-your-tests |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-tagging-tests-as-cold-test-allows-the-test-runner-to-execute-only-fast-tests-coldquick-tests-that-are-doing-no-io-and-can-be-executed-frequently-even-as-the-developer-is-typing |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-112-categorize-tests-under-at-least-2-levels |
| given-when-then | https://github.com/searls/jasmine-given |
| RITE | https://github.com/ericelliott/riteway |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-structuring-suite-with-the-name-of-unit-under-test-and-scenarios-will-lead-to-the-convenient-report-that-is-shown-below |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/hierarchical-report.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-a-flat-list-of-tests-will-make-it-harder-for-the-reader-to-identify-the-user-stories-and-correlate-failing-tests |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/flat-report.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️113-other-generic-good-testing-hygiene |
| TDD principles | https://www.sm-cloud.com/book-review-test-driven-development-by-example-a-tldr/ |
| red-green-refactor style | https://blog.cleancoder.com/uncle-bob/2014/12/17/TheCyclesOfTDD.html |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-2️⃣-backend-testing |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️21-enrich-your-testing-portfolio-look-beyond-unit-tests-and-the-pyramid |
| testing pyramid | https://martinfowler.com/bliki/TestPyramid.html |
| it must be wrong sometimes | https://en.wikipedia.org/wiki/All_models_are_wrong |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-cindy-sridharan-suggests-a-rich-testing-portfolio-in-her-amazing-post-testing-microservicesthe-same-way |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-12-rich-testing.jpeg |
| https://www.youtube.com/watch?v=-2zP494wdUY&feature=youtube |
| YouTube: “Beyond Unit Tests: 5 Shiny Node.JS Test Types (2018)” (Yoni Goldberg) | https://www.youtube.com/watch?v=-2zP494wdUY&feature=youtu.be |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-12-Yoni-Goldberg-Testing.jpeg |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️22-component-testing-might-be-your-best-affair |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-supertest-allows-approaching-express-api-in-process-fast-and-cover-many-layers |
| https://camo.githubusercontent.com/eb1a7198454d8a52fd4e593be2786181750b1073ea6ea3053ba73822bc657d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-13-component-test-yoni-goldberg.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️23-ensure-new-releases-dont-break-the-api-using-contract-tests |
| Consumer-driven contracts and the framework PACT | https://docs.pact.io/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example |
| https://camo.githubusercontent.com/7ef00ee87926362d39865b1510c09f8cc3d847fc770534348b2d9bfacefe16b9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e67253230504143542d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-14-testing-best-practices-contract-flow.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-24-test-your-middlewares-in-isolation |
| using Sinon for example | https://www.npmjs.com/package/sinon |
| node-mock-http | https://www.npmjs.com/package/node-mocks-http |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clapdoing-it-right-example-testing-middleware-in-isolation-without-issuing-network-calls-and-waking-up-the-entire-express-machine |
| https://camo.githubusercontent.com/38aab07e0c1c1b2fcea9b5c6f212663bdf24b161e3f0f3f02aeb676f39f58ac1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️25-measure-and-refactor-using-static-analysis-tools |
| SonarQube | https://www.sonarqube.org/ |
| stars | https://github.com/SonarSource/sonarqube |
| Code Climate | https://codeclimate.com/ |
| stars | https://github.com/codeclimate/codeclimate |
| https://github.com/TheHollidayInn |
| Keith Holliday | https://github.com/TheHollidayInn |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-codeclimate-a-commercial-tool-that-can-identify-complex-methods |
| https://camo.githubusercontent.com/be998768092cb287bdbed9816ecde7da4a14c17dce384b6e4978d36425b8886a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e67253230436f6465253230436c696d6174652d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-16-yoni-goldberg-quality.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-26-check-your-readiness-for-node-related-chaos |
| Chaos engineering | https://principlesofchaos.org/ |
| the chaos monkey | https://github.com/Netflix/chaosmonkey |
| kube-monkey | https://github.com/asobti/kube-monkey |
| node-chaos | https://github.com/i0natan/node-chaos-monkey |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example--node-chaos-can-generate-all-sort-of-nodejs-pranks-so-you-can-test-how-resilience-is-your-app-to-chaos |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-17-yoni-goldberg-chaos-monkey-nodejs.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️27-avoid-global-test-fixtures-and-seeds-add-data-per-test |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-tests-are-not-independent-and-rely-on-some-global-hook-to-feed-global-db-data-1 |
| https://camo.githubusercontent.com/eb1a7198454d8a52fd4e593be2786181750b1073ea6ea3053ba73822bc657d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e672532304d6f6368612d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-we-can-stay-within-the-test-each-test-acts-on-its-own-set-of-data-1 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-3️⃣-frontend-testing |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-31-separate-ui-from-functionality |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-separating-out-the-ui-details |
| https://camo.githubusercontent.com/7e4dfbb0bb7e2c44bea53e8fb17c0221a2781cc116bc13628fcdb8e0441758c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e6725323052656163742d626c75652e737667 |
| https://camo.githubusercontent.com/a3ce07a0d306170c8c61fcbfeea662ad5f29ec3a185a2881d2db5cce5ff1a59c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e67253230526561637425323054657374696e672532304c6962726172792d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-assertion-mix-ui-details-and-data |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-32-query-html-elements-based-on-attributes-that-are-unlikely-to-change |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-querying-an-element-using-a-dedicated-attribute-for-testing |
| https://camo.githubusercontent.com/7e4dfbb0bb7e2c44bea53e8fb17c0221a2781cc116bc13628fcdb8e0441758c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e6725323052656163742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-relying-on-css-attributes |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-33-whenever-possible-test-with-a-realistic-and-fully-rendered-component |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-working-realistically-with-a-fully-rendered-component |
| https://camo.githubusercontent.com/7e4dfbb0bb7e2c44bea53e8fb17c0221a2781cc116bc13628fcdb8e0441758c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e6725323052656163742d626c75652e737667 |
| https://camo.githubusercontent.com/3d0bd5ac4c914034857ff88141d6042e8fe6bff93e2d7424476ac727e95669e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e67253230456e7a796d652d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-mocking-the-reality-with-shallow-rendering |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-34-dont-sleep-use-frameworks-built-in-support-for-async-events-also-try-to-speed-things-up |
| Cypress cy.request('url') | https://docs.cypress.io/guides/references/best-practices.html#Unnecessary-Waiting |
| @testing-library/dom method wait(expect(element)) | https://testing-library.com/docs/guide-disappearance |
| hurry-up the clock | https://jestjs.io/docs/en/timer-mocks |
| wait-for-expect | https://www.npmjs.com/package/wait-for-expect |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-e2e-api-that-resolves-only-when-the-async-operations-is-done-cypress |
| https://camo.githubusercontent.com/c79af863b4cad5c2600385be582c6513fc9efee1b1cadf871529b3adc4dcc28c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e67253230437970726573732d626c75652e737667 |
| https://camo.githubusercontent.com/a3ce07a0d306170c8c61fcbfeea662ad5f29ec3a185a2881d2db5cce5ff1a59c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e67253230526561637425323054657374696e672532304c6962726172792d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-testing-library-that-waits-for-dom-elements |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-custom-sleep-code |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-35-watch-how-the-content-is-served-over-the-network |
| https://camo.githubusercontent.com/e83c12879da07ef862ba7a2ea469421f129fa0370d841aed3c8232020e858061/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e67253230476f6f676c652532304c69676874486f7573652d626c75652e737667 |
| pingdom | https://www.pingdom.com/ |
| gcp StackDriver | https://cloud.google.com/monitoring/uptime-checks/ |
| lighthouse | https://developers.google.com/web/tools/lighthouse/ |
| pagespeed | https://developers.google.com/speed/pagespeed/insights/ |
| meaningful paint | https://scotch.io/courses/10-web-performance-audit-tips-for-your-next-billion-users-in-2018/fmp-first-meaningful-paint |
| time until the page gets interactive (TTI) | https://calibreapp.com/blog/time-to-interactive/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-lighthouse-page-load-inspection-report |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/lighthouse2.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-36-stub-flaky-and-slow-resources-like-backend-apis |
| Sinon | https://sinonjs.org/ |
| Test doubles | https://www.npmjs.com/package/testdouble |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-stubbing-or-intercepting-api-calls |
| https://camo.githubusercontent.com/7e4dfbb0bb7e2c44bea53e8fb17c0221a2781cc116bc13628fcdb8e0441758c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e6725323052656163742d626c75652e737667 |
| https://camo.githubusercontent.com/a3ce07a0d306170c8c61fcbfeea662ad5f29ec3a185a2881d2db5cce5ff1a59c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541372532304578616d706c652532307573696e67253230526561637425323054657374696e672532304c6962726172792d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-37-have-very-few-end-to-end-tests-that-spans-the-whole-system |
| Cypress | https://www.cypress.io/ |
| Puppeteer | https://github.com/GoogleChrome/puppeteer |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-38-speed-up-e2e-tests-by-reusing-login-credentials |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-logging-in-before-all-and-not-before-each |
| https://camo.githubusercontent.com/c79af863b4cad5c2600385be582c6513fc9efee1b1cadf871529b3adc4dcc28c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e67253230437970726573732d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-39-have-one-e2e-smoke-test-that-just-travels-across-the-site-map |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-smoke-travelling-across-all-pages |
| https://camo.githubusercontent.com/c79af863b4cad5c2600385be582c6513fc9efee1b1cadf871529b3adc4dcc28c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e67253230437970726573732d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-310-expose-the-tests-as-a-live-collaborative-document |
| BDD (behavior-driven testing) | https://en.wikipedia.org/wiki/Behavior-driven_development |
| Cucumber which has a JavaScript flavor | https://github.com/cucumber/cucumber-js |
| StoryBook | https://storybook.js.org/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-describing-tests-in-human-language-using-cucumber-js |
| https://camo.githubusercontent.com/72e9150cfec264983097e4b7956360d7d14992e95cccb809e5a166182053b9ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e67253230437563756d6265722d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-visualizing-our-components-their-various-states-and-inputs-using-storybook |
| https://camo.githubusercontent.com/bb0de8c665981bb69e6de1d8e01fac67754897edb7c5d8ae4aaef2ca03dd88c1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e6725323053746f7279426f6f6b2d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/story-book.jpg |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-311-detect-visual-issues-with-automated-tools |
| wraith | https://github.com/BBC-News/wraith |
| Applitools | https://applitools.com/ |
| Percy.io | https://percy.io/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-a-typical-visual-regression---right-content-that-is-served-badly |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/amazon-visual-regression.jpeg |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-configuring-wraith-to-capture-and-compare-ui-snapshots |
| https://camo.githubusercontent.com/28b61df354761eb47c8e2c80f6726356cbff244dbc207371982d72858834f434/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e672532305772616974682d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-using-applitools-to-get-snapshot-comparison-and-other-advanced-features |
| https://camo.githubusercontent.com/8b9703d4b03c4b8de6c24c2e800a14f272d6f1c05dd17b2ee91620fee38b47b5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e672532304170706c69546f6f6c732d626c75652e737667 |
| https://camo.githubusercontent.com/c79af863b4cad5c2600385be582c6513fc9efee1b1cadf871529b3adc4dcc28c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e67253230437970726573732d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-4️⃣-measuring-test-effectiveness |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-41-get-enough-coverage-for-being-confident-80-seems-to-be-the-lucky-number |
| Fowler: “in the upper 80s or 90s” | https://martinfowler.com/bliki/TestCoverage.html |
| Jest link | https://jestjs.io/docs/en/configuration.html#collectcoverage-boolean |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-example-a-typical-coverage-report |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-18-yoni-goldberg-code-coverage.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-setting-up-coverage-per-component-using-jest |
| https://camo.githubusercontent.com/daeedd5d02b6c6e49a8c29c097f61361da9f7a3970f3532f8210b091d79d2ea5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e672532304a6573742d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-18-code-coverage2.jpeg |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-42-inspect-coverage-reports-to-detect-untested-areas-and-other-oddities |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-whats-wrong-with-this-coverage-report |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-19-coverage-yoni-goldberg-nodejs-consultant.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-43-measure-logical-coverage-using-mutation-testing |
| Stryker | https://stryker-mutator.io/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-100-coverage-0-testing |
| https://camo.githubusercontent.com/b5f6d55c12f43ad119b267b10bb7c837898b83f4c2289a176269a7562ec3bd00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539342541382532304578616d706c652532307573696e67253230537472796b65722d626c75652e737667 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-stryker-reports-a-tool-for-mutation-testing-detects-and-counts-the-amount-of-code-that-is-not-tested-mutations |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-20-yoni-goldberg-mutation-testing.jpeg |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️44-preventing-test-code-issues-with-test-linters |
| eslint-plugin-mocha | https://www.npmjs.com/package/eslint-plugin-mocha |
| skipped | https://mochajs.org/#inclusive-tests |
| eslint-plugin-jest | https://github.com/jest-community/eslint-plugin-jest |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-a-test-case-full-of-errors-luckily-all-are-caught-by-linters |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#section-5️⃣-ci-and-other-quality-measures |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-51-enrich-your-linters-and-abort-builds-that-have-linting-issues |
| ESLint standard | https://www.npmjs.com/package/eslint-plugin-standard |
| Airbnb style | https://www.npmjs.com/package/eslint-config-airbnb |
| eslint-plugin-chai-expect | https://www.npmjs.com/package/eslint-plugin-chai-expect |
| eslint-plugin-promise | https://www.npmjs.com/package/eslint-plugin-promise?activeTab=readme |
| eslint-plugin-security | https://www.npmjs.com/package/eslint-plugin-security?activeTab=readme |
| eslint-plugin-you-dont-need-lodash-underscore | https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#thumbsdown-anti-pattern-example-the-wrong-error-object-is-thrown-mistakenly-no-stack-trace-will-appear-for-this-error-luckily-eslint-catches-the-next-production-bug |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-21-yoni-goldberg-eslint.jpeg |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-52-shorten-the-feedback-loop-with-local-developer-ci |
| feedback loop | https://www.gocd.org/2016/03/15/are-you-ready-for-continuous-delivery-part-2-feedback-loops/ |
| CircleCI local CLI | https://circleci.com/docs/2.0/local-cli/ |
| wallaby provide highly-valuable & testing insights | https://wallabyjs.com/ |
| concurrently | https://www.npmjs.com/package/concurrently |
| husky can help | https://github.com/typicode/husky |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-npm-scripts-that-perform-code-quality-inspection-all-are-run-in-parallel-on-demand-or-when-a-developer-is-trying-to-push-new-code |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️53-perform-e2e-testing-over-a-true-production-mirror |
| Docker-compose | https://serverless.com/ |
| ‘AWS Local’ | https://github.com/localstack/localstack |
| serverless | https://serverless.com/ |
| AWS SAM | https://docs.aws.amazon.com/lambda/latest/dg/serverless_app.html |
| Minikube | https://kubernetes.io/docs/setup/minikube/ |
| MicroK8s | https://microk8s.io/ |
| Codefresh | https://codefresh.io/ |
| ( | https://container-solutions.com/dynamic-environments-kubernetes/ |
| Credit: Dynamic-environments Kubernetes | https://container-solutions.com/dynamic-environments-kubernetes/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-example-a-ci-pipeline-that-generates-kubernetes-cluster-on-the-fly-credit-dynamic-environments-kubernetes |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️54-parallelize-test-execution |
| Jest | https://github.com/facebook/jest |
| AVA | https://github.com/avajs/ava |
| Mocha extensions | https://github.com/yandex/mocha-parallel-tests |
| Credit: JavaScript Test-Runners Benchmark | https://medium.com/dailyjs/javascript-test-runners-benchmark-3a78d4117b4 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-mocha-parallel--jest-easily-outrun-the-traditional-mocha-thanks-to-testing-parallelization-credit-javascript-test-runners-benchmark |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-24-yonigoldberg-jest-parallel.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️55-stay-away-from-legal-issues-using-license-and-plagiarism-check |
| license check | https://www.npmjs.com/package/license-checker |
| plagiarism check | https://www.npmjs.com/package/plagiarism-checker |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-doing-it-right-example-1 |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-25-nodejs-licsense.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️56-constantly-inspect-for-vulnerable-dependencies |
| npm audit | https://docs.npmjs.com/getting-started/running-a-security-audit |
| snyk | https://snyk.io/ |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-example-npm-audit-result |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-26-npm-audit-snyk.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️57-automate-dependency-updates |
| like ncu | https://www.npmjs.com/package/npm-check-updates |
| ‘npm outdated’ | https://docs.npmjs.com/cli/outdated |
| see the | https://nodesource.com/blog/a-high-level-post-mortem-of-the-eslint-scope-security-incident/ |
| ncu | https://www.npmjs.com/package/npm-check-updates |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-example-ncu-can-be-used-manually-or-within-a-ci-pipeline-to-detect-to-which-extent-the-code-lag-behind-the-latest-versions |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/bp-27-yoni-goldberg-npm.png |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-58-other-non-node-related-ci-tips |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#-️-59-build-matrix-run-the-same-ci-steps-using-multiple-node-versions |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#clap-example-using-travis-ci-vendor-build-definition-to-run-the-same-test-over-multiple-node-versions |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#team |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#yoni-goldberg |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/blob/master/assets/yoni-goldberg.jpg |
| Node.js Best Practices | https://github.com/goldbergyoni/nodebestpractices |
| Testing Node.js & JavaScript From A To Z | https://www.testjavascript.com |
| 🐦 Twitter | https://twitter.com/goldbergyoni/ |
| 📞 Contact | https://testjavascript.com/contact-2/ |
| ✉️ Newsletter | https://testjavascript.com/newsletter// |
| Bruno Scheufler | https://github.com/BrunoScheufler |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#bruno-scheufler |
| Ido Richter | https://github.com/idori |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#ido-richter |
| Kyle Martin | https://github.com/js-kyle |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#kyle-martin |
| https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#contributors- |
| Scott Davis | http://geospatialscott.blogspot.com/ |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-stdavis |
| Adrien REDON | https://github.com/AdrienRedon |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-AdrienRedon |
| Stefano Magni | https://twitter.com/NoriSte |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-NoriSte |
| Yeoh Joer | https://www.joer.im |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-yjoer |
| Jhonny Moreira | http://jhonnymoreira.dev |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-jhonnymoreira |
| Ian Germann | https://github.com/Germanika |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-Germanika |
| Hafez | https://github.com/AbdelrahmanHafez |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-AbdelrahmanHafez |
| Ruxandra Fediuc | http://www.ruxandrafediuc.com |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-ruxandrafed |
| Jack | https://github.com/jacklee814 |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-jacklee814 |
| Peter Carrero | https://www.petercarrero.com |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-aloyr |
| Huhgawz | https://github.com/huhgawz |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-huhgawz |
| Haakon Borch | https://github.com/haakonmb |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-haakonmb |
| Jaime Mendoza | https://jaimemendoza.com/ |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-jaimemendozadev |
| Cameron Dunford | https://github.com/camerondunford |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-camerondunford |
| John Gee | https://github.com/shadowspawn |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-shadowspawn |
| Aurelijus Rožėnas | https://github.com/aurelijusrozenas |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-aurelijusrozenas |
| Aaron | http://aaronshivers.com |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-aaronshivers |
| Tom Nagle | https://tomdoes.tech/ |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-tomanagle |
| Yves yao | https://github.com/yvesyao |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-yvesyao |
| Userbit | https://github.com/Userbit |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-Userbit |
| Glaucia Lemos | https://glaucialemos.netlify.com/ |
| 🚧 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#maintenance-glaucia86 |
| koooge | https://twitter.com/koooge |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-koooge |
| Michal | https://twitter.com/michalbiesiada |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-mbiesiad |
| roywalker | http://roywalker.me |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-roywalker |
| dangen | https://dangen-effy.github.io/ |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-dangen-effy |
| biesiadamich | https://dev.to/mbiesiad |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-biesiadamich |
| Yanlin Jiang | https://tarojsx.github.io |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-cncolder |
| sanguino | https://github.com/sanguino |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-sanguino |
| Morgan | https://github.com/MorganGeek |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-MorganGeek |
| Lukas Bischof | https://luk4s.dev |
| ⚠️ | https://github.com/goldbergyoni/javascript-testing-best-practices/commits?author=lukasbischof |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-lukasbischof |
| JuanMa Ruiz | https://juanmaruiz.surge.sh |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-JuanMaRuiz |
| Luís Ângelo Rodrigues Jr. | https://luisangelorjr.com.br |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-luisangelorjr |
| José Fernández | https://jfernandezpe.wordpress.com/ |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-jfernandezpe |
| Alejandro Gutierrez Barcenilla | http://www.linkedin.com/in/AlejandroGutierrezB |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-AlejandroGutierrezB |
| Jason | https://github.com/jasonandmonte |
| 🖋 | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#content-jasonandmonte |
| testjavascript.com/ | https://testjavascript.com/ |
| Readme | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#readme-ov-file |
| MIT license | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices#MIT-1-ov-file |
| Activity | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/activity |
| 0 forks | https://redirect.github.com/AlexCodeLive/javascript-testing-best-practices/forks |
| Report repository | https://redirect.github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FAlexCodeLive%2Fjavascript-testing-best-practices&report=AlexCodeLive+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |