Get Advice Icon

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

Jasmine
Jasmine

697
510
+ 1
168
Protractor
Protractor

151
102
+ 1
6
Add tool

Jasmine vs Protractor: What are the differences?

Jasmine: 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; Protractor: End-to-end test framework for Angular and AngularJS applications. Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.

Jasmine and Protractor can be categorized as "Javascript Testing Framework" tools.

"Can also be used for tdd " is the top reason why over 58 developers like Jasmine, while over 2 developers mention "Quick tests implementation" as the leading cause for choosing Protractor.

Jasmine and Protractor are both open source tools. It seems that Jasmine with 14.4K GitHub stars and 2.12K forks on GitHub has more adoption than Protractor with 8.22K GitHub stars and 2.23K GitHub forks.

Coderus, Infoshare, and Ztory are some of the popular companies that use Jasmine, whereas Protractor is used by PeopleKeep, Omaze, and Garlic Tech Ltd. Jasmine has a broader approval, being mentioned in 143 company stacks & 75 developers stacks; compared to Protractor, which is listed in 23 company stacks and 22 developer stacks.

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.

What is Protractor?

Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Get Advice Icon

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

Why do developers choose Jasmine?
Why do developers choose Protractor?

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

    Be the first to leave a con
    What companies use Jasmine?
    What companies use Protractor?

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

    What tools integrate with Jasmine?
    What tools integrate with Protractor?
    What are some alternatives to Jasmine and Protractor?
    Mocha
    Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
    Jest
    Jest provides you with multiple layers on top of Jasmine.
    Karma
    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.
    Cypress
    Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
    Enzyme
    Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.
    See all alternatives
    Decisions about Jasmine and Protractor
    No stack decisions found
    Interest over time
    Reviews of Jasmine and Protractor
    No reviews found
    How developers use Jasmine and Protractor
    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 Jasmine cost?
    How much does Protractor cost?
    Pricing unavailable
    Pricing unavailable
    News about Jasmine
    More news
    News about Protractor
    More news