News for hackers. Stuff that matters.
Re:Ask HN: What are the gaps in current infrastructure softw... by BjoernKW on Wednesday October 02, 2019 @04:52AM (#21134494)
With Jasmine tests running with "ng test" (i.e. with Karma test runner rather than Protractor) the system-under-test usually is a single component, directive or service.

Therefore, conceptually these indeed are unit tests.

You could argue that because a browser environment is required for running these units the tests are integration tests.

Still, they're commonly referred to as unit tests (including the official Angular documentation).

There are no comments on this comment yet.