For unit testing in Angular2 we can configure a good environment using:
- Jasmine: a framework to write test
- karma: a test runner
- chai: a bdd assertions library
- Protractor: used to write end-to-end test. It explore the app as users experience it simulating user behaviour.
- PhantomJS: a script browser to run the angular code and check if it works properly.