Skip to content

Testing

Polina Soshnin edited this page Jan 21, 2016 · 10 revisions

Unit tests

  • Mocha: test framework
  • Chai: assertion library
  • Karma: test runner
  • Server: Mocha + Chai
  • Client: Mocha + Chai + Karma

Integration Testing

Frisby.js

  • Use case: testing REST APIs exposed with Express.
  • API testing framework based on Jasmine.

###End to End Testing

Protractor

  • Use Case: big tests in which you have a running instance of your entire application should be run using Protractor. Protractor is intended to run tests from a user's point of view.
  • Simulates user interactions
  • Angular focused testing framework
  • Recommended by Angular team

Test Coverage

Istanbul

  • Transparent coverage of Node unit tests.
Clone this wiki locally