In this exercise, I write a few practical tests for JavaScript functions using the Jest library. I make sure to follow the AAA pattern to make my tests easier for other developers to read and understand. I also try to use the TDD approach in practice.
- Jest
- JavaScript
- VS Code
- Git & GitHub
You need to have node installed in your computer npm install
To get a local copy up and running follow these simple example steps.
- Open terminal
- Clone this project using the command git clone
https://github.com/Hamzaoutdoors/Automated-Testing-Practice-ATP-
cd <clone>
folder
- Run
npm install
to install project dependencies. - Run
npm run test
in your local browser to see Jest in action and test passing.
👤 Hamza Ellaouzi (Hamza)
- GitHub: @hamzaoutdoors
- LinkedIn: Hamza Ellaouzi
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.