jasmin

The standard way to test components is to use Karma and Jasmin. They are already preinstalled in every Angular project. You get them by the Angular CLI. Angular also provides a TestBed for testing components and services.

But there are also others frameworks you can use: If you want to write integration tests instead of frontend tests you should use e2e with Protractor. Another solution for integration tests would be Selenium, which is a standard way to test web applications.

Subscribe to jasmin