This project was made using TDD. Writing the test for the funcionality, Fail the test. Write funcionality to pass in the test.
This project wa made with the intention to be at 100% tested.
It have 100% of the line coverade by unit tests with Karma and Jasmine and e2e tests made with CyPress.
Check cypress folder to see the vídeos with CyPress tests
This project was generated with Angular CLI version 12.2.0.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng test --code-coverage
and create the coverage folder in the root.
Run ng e2e
to execute the end-to-end tests via CyPress.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.