Skip to content

Simple Todo application just to demonstrate Unit Tests and e2e tests

Notifications You must be signed in to change notification settings

denisfloyd/todo-wtests

Repository files navigation

todo-wtests

This is a simple React Todo application.

Denis Mendonça Ladeira Repository size GitHub last commit License

📌 Table of Contents

💻 Technologies

This project was made using the follow technologies:

👷 How to run

# Clone the project on your computer via Download (option Code -> Download ZIP)
    - If you want to do it with Git, make sure you have Git installed,
      follow the link https://git-scm.com/
    - then run the command in terminal:
        $ git clone https://github.com/denisfloyd/todo-wtests.git

# In the terminal or prompt(cmd), access the project root;
   $ cd todo-wtests

obs. Make sure you have Node and npm installed in your computer. You can use yarn instead npm.

💻 Run Project

# Install Dependencies
$ npm install
or
$ yarn

# Run Aplication
$ npm dev
or
$ yarn dev

Go to http://localhost:3000/ to see the result.

🧪 Run Tests

# Install dependencies if you didn't
# Run tests
$ npm run test:jest
or 
$ npm run test # to run test with vitest

# Run test coverage
$ npm run test:coverage

# Run e2e tests
$ npm run test:e2e
or
$ npm run test:e2e:headless # headless mode

🐛 Issues

Feel free to file a new issue with a respective title and description on the the Todo With Tests repository. If you already found a solution to your problem, i would love to review your pull request!

🎉 Contributing

There are many forms to contribute with the project, first of all you can give this github repo a Star.

If you want do help with the code follow the steps bellow

# Fork using GitHub official command line
# If you don't have the GitHub CLI, use the web site to do that.
$ gh repo fork denismend/todo-wtests

# Clone your fork
$ git clone {your-fork-url}
$ cd todo-wtests

# Create a branch with your feature
$ git checkout -b {branch-name}

# Make the commit with your changes
$ git commit -m 'Feat: {feature-name}'

# Send the code to your remote branch
$ git push origin {branch-name}

📕 License

Released in 2022 📕 License

Made with love by Denis Ladeira 🚀. This project is under the MIT license.