Skip to content

dalmasiof/AngularTdd

Repository files navigation

Angular TDD

This project was made using TDD. Writing the test for the funcionality, Fail the test. Write funcionality to pass in the test.

Angular Web App

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.

code coverage:

e2e tests:

Check cypress folder to see the vídeos with CyPress tests

AngularTdd

This project was generated with Angular CLI version 12.2.0.

Development server

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.

Code scaffolding

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma. Run ng test --code-coverage and create the coverage folder in the root.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via CyPress.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

Angular app using TDD with 100% of coverage

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published