Corner testing? Unit testing and E2E testing?

I read that karma is used for angular unit testing, and protractor is used to test the end. If we want to test with both unit and E2E in my angular app. Should we use karma or protractor to have both of these tests, or should we use both karma (for unit testing) and protractor (for E2E testing) for the same expression.

+3
source share
1 answer

You can run unit tests on Protractor, but it's better to separate test running devices and e2e.

https://github.com/angular/protractor/blob/master/docs/faq.md#why-both-karma-and-protractor-when-do-i-use-which

+2
source

All Articles