We calculate how many liters of paint it takes to paint your walls and suggest which paint cans you should buy to maximize your savings.
- Calculate total area of 4 walls
- Calculate how many windows and doors the walls will have
- Get total paint liters you need to paint the walls
- Get recommendation of paint cans to buy to maximize your savings
- Clone the repository
git clone https://github.com/LucasFelipeTimoteo/paint-calculator
- Download dependencies
npm install
- Start React app
npm start
- Run unit tests
npm test
- Run integration/E2E tests
npm run test:cypress
- Run all tests (units and integration/E2E) at once
npm run test:all
- Tips
- Avoid running Integration/E2E tests if your Internet connection is not stable as this could result in unexpected errors
- Avoid interacting with the application from within the test browser while the integration/E2E tests are running
- To manually test some functionality, prefer to use the real application running in your browser
- If an Integration/E2E test unexpectedly failed try running the tests again
- Integration/E2E interface (Cypress interface)
-
When running the Integration/E2E tests, the following interface will appear:
-
To run all integration/E2E tests at once, click in "Run Nº integration specs"
- React
- Node.js (v14.15.4)
- Typescript
- Material-UI (v4)
- Cypress
- Jest
- Yup
Made with ❤️ by Lucas Felipe Timoteo