Home

Awesome

<h1 align="center"> JavaScript Testing Fundamentals </h1> <div align="center"> <h2><a href="https://testingjavascript.com">TestingJavaScript.com</a></h2> <a href="https://testingjavascript.com"> <img width="500" alt="Learn the smart, efficient way to test any JavaScript application." src="https://kentcdodds.com/images/testingjavascript-promo/tjs-4.jpg" /> </a> </div> <hr /> <p align="center" style="font-size: 1.2rem;"> Learn how automated JavaScript testing works by building your own framework! </p> <hr /> <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

All Contributors

<!-- ALL-CONTRIBUTORS-BADGE:END -->

Order of material:

  1. simple.js
  2. assertion-library.js
  3. testing-framework.js
  4. async-await.js
  5. globals.js
  6. jest.test.js

The files are intended to test the math module.

To run the files, run node lessons/<lesson-filename>.js.

For the global one, run node -r ./setup-globals.js ./lessons/globals.js

For the jest.test.js one, run npx jest.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tr> <td align="center"><a href="http://nashkabbara.com"><img src="https://avatars3.githubusercontent.com/u/31865?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nash Kabbara</b></sub></a><br /><a href="https://github.com/kentcdodds/js-testing-fundamentals/commits?author=nkabbara" title="Documentation">📖</a></td> <td align="center"><a href="https://brunormferreira.github.io/"><img src="https://avatars3.githubusercontent.com/u/35575092?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bruno Ramires</b></sub></a><br /><a href="https://github.com/kentcdodds/js-testing-fundamentals/commits?author=brunormferreira" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/pbzona"><img src="https://avatars.githubusercontent.com/u/16768769?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Phil Z</b></sub></a><br /><a href="https://github.com/kentcdodds/js-testing-fundamentals/commits?author=pbzona" title="Documentation">📖</a></td> </tr> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the all-contributors specification. Contributions of any kind welcome!