2.6K
1.5K
+ 1
186

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 GitHub stars and GitHub forks. Here’s a link to Jasmine's open source repository on GitHub

Who uses Jasmine?

Companies
241 companies reportedly use Jasmine in their tech stacks, including Accenture, Walmart, and E-Commerce.

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

Jasmine Integrations

Karma, LambdaTest, Allure Report, Wallaby.js, and Nevercode are some of the popular tools that integrate with Jasmine. Here's a list of all 5 tools that integrate with Jasmine.
Pros of Jasmine
64
Can also be used for tdd
49
Open source
18
Originally from RSpec
15
Great community
14
No dependencies, not even DOM
10
Easy to setup
8
Simple
3
Created by Pivotal-Labs
2
Works with KarmaJs
1
Jasmine is faster than selenium in angular application
1
SpyOn to fake calls
1
Async and promises are easy calls with "done"
Decisions about Jasmine

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

Sai Chaitanya Mankala
Tech Lead at KIOT Innovations · | 6 upvotes · 870.8K views
Needs advice
on
CypressCypress
and
ProtractorProtractor

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?

See more
Joshua Dean Küpper
CEO at Scrayos UG (haftungsbeschränkt) · | 7 upvotes · 616.8K 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.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
See all alternatives

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