Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Capybara
Capybara

162
105
+ 1
10
Jasmine
Jasmine

697
510
+ 1
168
Add tool

Capybara vs Jasmine: What are the differences?

Developers describe Capybara as "Acceptance test framework for web applications". Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. WebKit is supported through an external gem. On the other hand, Jasmine is detailed as "DOM-less simple JavaScript testing framework". Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.

Capybara and Jasmine are primarily classified as "Testing Frameworks" and "Javascript Testing Framework" tools respectively.

"Best acceptance test framework for Ruby on Rails apps" is the primary reason why developers consider Capybara over the competitors, whereas "Can also be used for tdd " was stated as the key factor in picking Jasmine.

Capybara and Jasmine are both open source tools. It seems that Jasmine with 14.4K GitHub stars and 2.12K forks on GitHub has more adoption than Capybara with 8.82K GitHub stars and 1.29K GitHub forks.

According to the StackShare community, Jasmine has a broader approval, being mentioned in 143 company stacks & 75 developers stacks; compared to Capybara, which is listed in 38 company stacks and 20 developer stacks.

What is Capybara?

Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. WebKit is supported through an external gem.

What is Jasmine?

Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Capybara?
Why do developers choose Jasmine?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use Capybara?
What companies use Jasmine?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Capybara?
What tools integrate with Jasmine?
What are some alternatives to Capybara and Jasmine?
Wombat
Automate your store in no time: Wombat is an ecommerce integration platform that quickly connects your storefront with all your favorite 3rd party services. Comprehensive enough for large ecommerce stores and easy enough for small merchants
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Anaconda
A free and open-source distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment. Package versions are managed by the package management system conda.
JUnit
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
RSpec
Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
See all alternatives
Decisions about Capybara and Jasmine
No stack decisions found
Interest over time
Reviews of Capybara and Jasmine
No reviews found
How developers use Capybara and Jasmine
Avatar of RentChek
RentChek uses JasmineJasmine

We use Jasmine for all our front-end web interface tests. Works great for testing all our Angular components.

Avatar of Ron Apelbaum
Ron Apelbaum uses JasmineJasmine

I write unit tests with Jasmine, and use nodejs Jasmine as a test runner.

Avatar of Fred Steffen
Fred Steffen uses JasmineJasmine

It has tons of features, great documentation

Avatar of Giovanni Candido da Silva
Giovanni Candido da Silva uses JasmineJasmine

Test tool for the interface code

Avatar of Evan Luc
Evan Luc uses JasmineJasmine

Front and back-end tests.

How much does Capybara cost?
How much does Jasmine cost?
Pricing unavailable
Pricing unavailable
News about Jasmine
More news