Need advice about which tool to choose?Ask the StackShare community!
Karma vs Wallaby.js: What are the differences?
Karma: Spectacular Test Runner for JavaScript. Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like; Wallaby.js: Intelligent test runner for JavaScript with real-time code coverage and deep editor integration. It is an intelligent test runner for JavaScript that continuously runs your tests. It reports code coverage and other results directly to your code editor immediately as you change your code. Wallaby.js uses various tricks to run your tests as fast as possible, such as dependency analysis to only execute tests affected by your code changes and parallel test execution. It provides a huge productivity boost whether you are doing TDD/BDD or using any other approach.
Karma and Wallaby.js can be categorized as "Browser Testing" tools.
Karma is an open source tool with 10.8K GitHub stars and 1.61K GitHub forks. Here's a link to Karma's open source repository on GitHub.
According to the StackShare community, Karma has a broader approval, being mentioned in 170 company stacks & 292 developers stacks; compared to Wallaby.js, which is listed in 3 company stacks and 3 developer stacks.
Pros of Karma
- Test Runner61
- Open source35
- Continuous Integration27
- Great for running tests22
- Test on Real Devices18
- Backed by google11
- Easy Debugging5
- Remote Control2
Pros of Wallaby.js
Sign up to add or upvote prosMake informed product decisions
Cons of Karma
- Slow, because tests are run in a real browser1
- Requires the use of hacks to find tests dynamically1