Jasmine vs Karma: What are the differences?
"Can also be used for tdd " is the primary reason why developers consider Jasmine over the competitors, whereas "Test Runner" was stated as the key factor in picking Karma.
Jasmine and Karma are both open source tools. Jasmine with 14.4K GitHub stars and 2.12K forks on GitHub appears to be more popular than Karma with 10.7K GitHub stars and 1.61K GitHub forks.
According to the StackShare community, Jasmine has a broader approval, being mentioned in 143 company stacks & 75 developers stacks; compared to Karma, which is listed in 119 company stacks and 57 developer stacks.
What is Jasmine?
What is Karma?
Want advice about which of these to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Karma?
Sign up to get full access to all the companiesMake informed product decisions
We use Jasmine for all our front-end web interface tests. Works great for testing all our Angular components.
All services, directives and controllers from angular are tested using Karma.