/unit-test-pracitce

Unit test practice (jest, AAA pattern)

Primary LanguageJavaScriptMIT LicenseMIT


Unit-Test Practice

📗 Table of Contents


📖 Todo List

Todo List is a simple todolist implemented as a web-based app. It is implemented using Javascript ES6 and webpack.

🛠 Built With

Tech Stack

Technology
Tools

Key Features

  • Test Units for different functions including:
    1. String Length
    2. Reverse String
    3. Simple Calculator
    4. String Capitalize

(back to top)

💻 Getting Started


Prerequisites

In order to reproduce this project and be able to make changes for your own purpose you need the following tools:

  • Visual Studio Code
  • git-scm
  • A Github account

Setup

  1. Make a new directory and go inside the directory using cd command in terminal
  2. Use "git" to clone this repository into your local drive:

    $ git clone https://github.com/dev89s/unit-test-pracitce.git

Usage

  • Feel free to change the code and make any adjustments just remember to mention this github repository as the reference because of MIT license 🙏.

Deployment

You can deploy this project by opening a new github repo and initialize the local git repo and connect it through: $ git remote add origin main [your github repo link] command. Then you can make a pull requrest and Then if you go to the repository in your account, you'll see the pull requrest prompt appear at the top and the you can make a pull request and observe the Github Actions checking Linters.

(back to top)

👥 Authors

👤 Sasan Moshirabadi

(back to top)

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project consider giving a star to the project and if you want to go furthur make a donation to any one the top 8 charities in Hawaii islands at the link below:

(back to top)

🙏 Acknowledgments

I would like to thank Microverse online web development school for providing the material and guidance that helped me write this code.

(back to top)

❓ FAQ (OPTIONAL)

  • Is Unit testing necessary in the modern world of programming?

    • Yes. In effort to reduce the production costs and also make development of new versions faster you need to implement unit testing in your development cycle.

(back to top)

📝 License

This project is MIT licensed.

(back to top)