- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ
- 📝 License
[Testing practice with Jest] In this exercise, the purpose is to write a few practical tests for JavaScript functions using the Jest library, follow the AAA pattern to make the tests easier for other developers to read and understand and using the TDD approach in practice.
Client
Server
Database
- [Write a function stringLength(string) that takes any string as an argument and returns its characters count.]
- [Write a function reverseString(string) function. It should take a string as an argument and return it reversed.]
- [Write a simple calculator class or object, which will have 4 methods: add, subtract, divide, and multiply.]
- [Start by writing a test for a capitalize(string) function. Your test should make sure that this function takes a string as an argument and returns that string with the first character capitalized.]
- Not available
To get a local copy up and running, follow these steps.
In order to run this project you need:
If you don't have git installed on your machine you can download it from here.
Clone this repository to your desired folder:
Once you have git installed on your machine you can clone your project by running the command below to clone your project to your local machine
git clone <https://github.com/AlexisJW/testing-practice-with-jestt>
Alternatively, you can download the zip file of your project by clicking on the Code
button on the right side of your project page and clicking on Download ZIP
To run the project, execute the following command:
Locate the folder where you cloned your project to and open the index.html
file in your browser to view the project.
To run tests, run the following command:
- npm run test
👤 Jean Walner ALEXIS
- GitHub: @githubhandle
- LinkedIn: LinkedIn
- [Make some changes]\
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, let me know in my email: jeanwalneralexis@yahoo.com, please!
- Microverse
- Coding Partners
- Code Reviewers
-
[How much times did you spend to build this project?]
- [Only 5 hours.]
This project is MIT