967
1.1K
+ 1
178

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 Javascript Testing Framework category of a tech stack.
Jasmine is an open source tool with 15K GitHub stars and 2.2K GitHub forks. Here’s a link to Jasmine's open source repository on GitHub

Who uses Jasmine?

Companies
213 companies reportedly use Jasmine in their tech stacks, including Accenture, Typeform, and Walmart.

Developers
650 developers on StackShare have stated that they use Jasmine.

Jasmine Integrations

Public Decisions about Jasmine

Here are some stack decisions, common use cases and reviews by companies and developers who chose Jasmine in their tech stack.

Joshua Dean K√ľpper
CEO at Scrayos UG (haftungsbeschränkt) · | 6 upvotes · 30.6K views

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.

See more

Jasmine Alternatives & Comparisons

What are some alternatives to Jasmine?
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.
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.
See all alternatives

Jasmine's Followers
1087 developers follow Jasmine to keep up with related blogs and decisions.