Need advice about which tool to choose?Ask the StackShare community!
Karma vs Galen: What are the differences?
What is 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.
What is Galen? Automated testing of responsive design and html layout for web applications. It is a tool for testing layout of responsive web apps. It is based on Selenium and has a special language for testing page layout.
Karma and Galen can be categorized as "Browser Testing" tools.
Some of the features offered by Karma are:
- Test on Real Devices
- Remote Control
- Testing Framework Agnostic
On the other hand, Galen provides the following key features:
- Responsive
- Cross-browser layout testing
- Functional testing
Karma and Galen are both open source tools. Karma with 10.8K GitHub stars and 1.61K forks on GitHub appears to be more popular than Galen with 1.33K GitHub stars and 143 GitHub forks.
Pros of Galen
Pros of Karma
- Test Runner61
- Open source35
- Continuous Integration27
- Great for running tests22
- Test on Real Devices18
- Backed by google11
- Easy Debugging5
- Remote Control2
Sign up to add or upvote prosMake informed product decisions
Cons of Galen
Cons of Karma
- Slow, because tests are run in a real browser1
- Requires the use of hacks to find tests dynamically1