Skip to content

Hamzaoutdoors/Automated-Testing-Practice-ATP-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

made-with-javascript

Automated Unit Testing With Jest - Best Practice

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.

Built With

  • Jest
  • JavaScript
  • VS Code
  • Git & GitHub

Prerequisites

You need to have node installed in your computer npm install

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 tests

  • Run npm install to install project dependencies.
  • Run npm run test in your local browser to see Jest in action and test passing.

Authors

👤 Hamza Ellaouzi (Hamza)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published