Skip to content

amercier/angular-tour-of-heroes

Repository files navigation

Angular Tour of Heroes tutorial with testing

This project illustrates Angular's Tour of Heroes tutorial with Continuous Integration, running unit and end-to-end tests on Travis CI.

Build Status Test Coverage

This project was generated with Angular CLI version 1.7.4 (updated to 6.0.1).

Angular version Dependency Status devDependency Status

Changelog

  • Tutorial 2/b - Create a new application - 199bf66
  • Added Travis CI configuration - fbf17cc
  • Implemented tutorial with testing in mind - #1
  • Updated Angular to version 6 - #4
  • Updated Angular to version 7 - #14

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

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