The Karma Test Runner

Let's explore how we can use the Karma test runner to run test specs and test suites.

What is Karma?

In Angular, along with having Jasmine, there is the Karma test runner, which is part of the testing process of Angular. Again, like Jasmine, Karma is installed as part of a new Angular application (we can also create a new Angular application without installing Karma).

📝 Note: When we say running our tests, this means we go through all the written test suite files and trigger the describe() functions within each test suite, which in turn runs all the test specs to test the code we’ve created to meet our expectations.

Get hands-on with 1400+ tech skills courses.