StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
Jasmine
ByJasmineJasmine

Jasmine

#7in Testing Frameworks
Discussions5
Followers1.47k
OverviewDiscussions5

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.

Jasmine is a tool in the Testing Frameworks category of a tech stack.

Jasmine Pros & Cons

Pros of Jasmine

  • ✓Can also be used for tdd
  • ✓Open source
  • ✓Originally from RSpec
  • ✓Great community
  • ✓No dependencies, not even DOM
  • ✓Easy to setup
  • ✓Simple
  • ✓Created by Pivotal-Labs
  • ✓Works with KarmaJs
  • ✓Async and promises are easy calls with "done"

Cons of Jasmine

  • ✗Unfriendly error logs

Jasmine Alternatives & Comparisons

What are some alternatives to Jasmine?

Jest

Jest

Jest provides you with multiple layers on top of Jasmine.

Mocha

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.

Chai

Chai

It is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. It has several interfaces that allow the developer to choose the most comfortable. The chain-capable BDD styles provide an expressive language & readable style, while the TDD assert style provides a more classical feel.

Cypress

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.

SinonJS

SinonJS

It is a really helpful library when you want to unit test your code. It supports spies, stubs, and mocks. The library has cross browser support and also can run on the server using Node.js.

Protractor

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.

Jasmine Integrations

Karma, Nevercode, Wallaby.js, LambdaTest, Allure Report are some of the popular tools that integrate with Jasmine. Here's a list of all 5 tools that integrate with Jasmine.

Karma
Karma
Nevercode
Nevercode
Wallaby.js
Wallaby.js
LambdaTest
LambdaTest
Allure Report
Allure Report

Jasmine Discussions

Discover why developers choose Jasmine. Read real-world technical decisions and stack choices from the StackShare community.

Sai Chaitanya Mankala
Sai Chaitanya Mankala

Tech Lead

Jul 22, 2021

Needs adviceonProtractorProtractorCypressCypressionic-angularionic-angular

Protractor or Cypress for ionic-angular?

We have a huge ionic-angular app with almost 100 pages and 10+ injectables. There are no tests written yet. Before we start, we need some suggestions about the framework. Would you suggest Cypress or Angular's Protractor with Jasmine / Karma for a heavy ionic app with Angular?

0 views0
Comments
Joshua Dean Küpper
Joshua Dean Küpper

CEO at Scrayos UG (haftungsbeschränkt)

Jul 26, 2020

Needs adviceonNuxt.jsNuxt.jsTypeScriptTypeScriptES6ES6

For our internal team and collaboration panel we use Nuxt.js (with TypeScript that is transpiled into ES6), Webpack and npm. We enjoy the opinionated nature of Nuxt.js over vanilla Vue.js, as we would end up using all of the components Nuxt.js incorporates anyways and we can adhere to the conventions setup by the Nuxt.js project, which allows us to get better support in case we run into any dead ends. Webpack allows us to create reproducable builds and also debug our application with hot reloads, which greately increased the pace at which we are able to perform and test changes. We also incorporated a lot of testing (ESLint, Chai, Jasmine, Nightwatchjs) into our pipelines and can trigger those jobs through GitLab CI. All packages are fetched through npm, so that we can keep our git repositories slim and are notified of new updates aswell as reported security flaws.

0 views0
Comments
Frank White
Frank White

Aug 8, 2019

Needs adviceonJasmineJasmineKarmaKarmaAngular CLIAngular CLI

Switched from Jasmine with Karma that come setup by Angular CLI to use Jest instead, since Jasmine and Karma were very finicky in my setup and had to be reconfigured frequently to run tests properly.

Jest was also easier to integrate into my workflow with Visual Studio Code.

0 views0
Comments
Ron Apelbaum
Ron Apelbaum

Mar 28, 2017

Needs adviceonJasmineJasmine

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

0 views0
Comments
Chesley Brown
Chesley Brown

Lead Programmer at RentChek

Dec 14, 2014

Needs adviceonJasmineJasmine

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

0 views0
Comments

Try It

Visit Website

Adoption

On StackShare

Companies
292
GPFUOC+286
Developers
1.05k
NPJNРA+1044