Sports-Fixture-Software / sports-fixture-software

1 stars 0 forks source link

Unit Testing Components #73

Open cskeogh opened 8 years ago

cskeogh commented 8 years ago

Add support for unit testing Angular2 components. The existing Unit Testing Framework can only test services and utils. See #43 (and the pull request #72)

For component testing, the following are good resources:

  1. https://angular.io/docs/ts/latest/guide/testing.html
  2. https://github.com/NathanWalker/angular2-seed-advanced

However, those guides use TestBed which requires an updated version of Angular2, so dependent on #33

cskeogh commented 8 years ago

Other issues have been prioritised higher than this issue, and this issue will not be completed before the due date. The application does have unit testing for services and util. The application does have end-to-end tests which exercises the components.