Need advice about which tool to choose?Ask the StackShare community!
Karma vs Geb: 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; Geb: A browser automation solution. It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy language.It can be used for scripting.
Karma and Geb belong to "Browser Testing" category of the tech stack.
Some of the features offered by Karma are:
- Test on Real Devices
- Remote Control
- Testing Framework Agnostic
On the other hand, Geb provides the following key features:
- Groovy browser automation
- Web Testing
- Screen Scraping
Karma and Geb are both open source tools. Karma with 10.8K GitHub stars and 1.61K forks on GitHub appears to be more popular than Geb with 972 GitHub stars and 217 GitHub forks.
Pros of Geb
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 Geb
Cons of Karma
- Slow, because tests are run in a real browser1
- Requires the use of hacks to find tests dynamically1