๐ŸŒ
npm
npmjs.com โ€บ package โ€บ karma-jasmine
karma-jasmine - npm
June 16, 2022 - A Karma plugin - adapter for Jasmine testing framework.. Latest version: 5.1.0, last published: 4 years ago. Start using karma-jasmine in your project by running `npm i karma-jasmine`. There are 484 other projects in the npm registry using karma-jasmine.
      ยป npm install karma-jasmine
    
Published ย  Jun 16, 2022
Version ย  5.1.0
๐ŸŒ
Angular
angular.dev โ€บ guide โ€บ testing โ€บ karma
Testing with Karma and Jasmine โ€ข Angular
While Vitest is the default test runner for new Angular projects, Karma is still a supported and widely used test runner. This guide provides instructions for testing your Angular application using the Karma test runner with the Jasmine testing framework.
Discussions

Opinions on Jasmine / Karma vs Jest / others
I think they're good enough but the general consensus is that Jest is better. Tools like Nx set up both Jest and Cypress for you. More on reddit.com
๐ŸŒ r/Angular2
17
21
January 2, 2020
Resources to Learn Unit Testing using Karma and Jasmin
I recommend this free e-book: Testing Angular A Guide to Robust Angular Applications ( https://testing-angular.com/ ) More on reddit.com
๐ŸŒ r/Angular2
7
10
June 30, 2024
Have you switched away from Karma? And what did you settle on
I have not. Jasmine/Karma is still the default when a new project is created and it works great for me. I've tried to move an Angular project to Jest and the setup/transition was too complicated to just make my already working tests run in a different framework. Not worth it IMO. Also, from my experience with Jest, it's so sloooowww. I have have a single expect(true).toEqual(true) and it takes over 5 seconds to run. I have run over 300 Jasmine/Karma tests in less than a second. More on reddit.com
๐ŸŒ r/angular
30
3
November 11, 2023
Angular testing using Jasmine and karma
A subreddit for all questions related to programming in any programming language (Contributions are only allowed in English!). More on reddit.com
๐ŸŒ r/learnprogramming
testing framework for JavaScript
Jasmine is an open-source testing framework for JavaScript. It aims to run on any JavaScript-enabled platform, to not intrude on the application nor the IDE, and to have easy-to-read syntax. It is โ€ฆ Wikipedia
Factsheet
Developer Pivotal Labs
Initial release September 14, 2010; 15 years ago (2010-09-14)
Stable release 6.2.0
/ 11 April 2026; 18 days ago (11 April 2026)
Factsheet
Developer Pivotal Labs
Initial release September 14, 2010; 15 years ago (2010-09-14)
Stable release 6.2.0
/ 11 April 2026; 18 days ago (11 April 2026)
๐ŸŒ
Jasmine
jasmine.github.io
Jasmine Documentation
Jasmine is a framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It runs in browsers and in Node.js.
๐ŸŒ
Xoriant
xoriant.com โ€บ blog โ€บ unit testing angularjs application with karma jasmine
Unit Testing AngularJS Application with Karma Jasmine | Xoriant
Jasmine is a BDD (Behaviour Driven Development) JavaScript testing framework. It provides basic building blocks for writing unit tests for testing JavaScript code. Karma is neither a testing framework nor an assertion library but is a tool that ...
๐ŸŒ
CodeCraft
codecraft.tv โ€บ courses โ€บ angular โ€บ unit-testing โ€บ jasmine-and-karma
Jasmine & Karma โ€ข Angular
Manually running Jasmine tests by refreshing a browser tab repeatedly in different browsers every time we edit some code can become tiresome. Karma is a tool which lets us spawn browsers and run Jasmine tests inside of them all from the command line.
๐ŸŒ
Medium
medium.com โ€บ simform-engineering โ€บ how-to-write-unit-tests-with-jasmine-karma-f1908bdeb617
How to Write Unit Tests with Jasmine & Karma? | by Khushbu Choksi | Medium | Simform Engineering
June 1, 2023 - Jasmine is a JavaScript behavior-driven testing framework that helps you write test cases in a human-readable way. Simply put, Jasmine allows us to write code (test case) that tests our functional code to achieve a specific requirement.
Find elsewhere
๐ŸŒ
Sumble
sumble.com โ€บ tech โ€บ jasmine-karma
What is Jasmine/Karma? Competitors, Complementary Techs & Usage | Sumble
November 29, 2025 - Jasmine is a behavior-driven development (BDD) framework for testing JavaScript code. It provides a clean syntax for writing tests and focuses on testing the behavior of code rather than implementation details.
๐ŸŒ
Sumble
sumble.com โ€บ tech โ€บ karma-jasmine
What is Karma/Jasmine? Competitors, Complementary Techs & Usage | Sumble
November 29, 2025 - Karma is a test runner that allows you to execute JavaScript tests in multiple real browsers or headless environments. It provides a testing environment where you can load your application's code, along with your tests, and execute them against ...
๐ŸŒ
Eldarion
eldarion.com โ€บ blog โ€บ 2017 โ€บ 10 โ€บ 24 โ€บ javascript-testing-jasmine-and-karma
Javascript Testing with Jasmine and Karma - Eldarion
October 24, 2017 - The jasmine-fixture plugin makes easy work of building up DOM elements as needed to manipulate and test against. This feature was a big win over having to maintain static HTML documents loaded with elements that my tests relied upon under QUnit. As for the Karma test runner, I needed the karma-jquery adapter so that I could inject jQuery into the tests.
๐ŸŒ
Jasmine
jasmine.github.io โ€บ tutorials โ€บ your_first_suite
Your_first_suite
The describe function is for grouping related specs, typically each test file has one at the top level. The string parameter is for naming the collection of specs, and will be concatenated with specs to make a spec's full name. This aids in finding specs in a large suite.
๐ŸŒ
Medium
medium.com โ€บ @danielrob โ€บ understand-angular-testing-with-jasmine-karma-8d1384962011
Understand Angular Testing With Jasmine & Karma | by Daniel Robinson | Medium
August 19, 2015 - Comparing this debug point in the console during a karma run with the same point on a web server we note differences. In the web server case: describe; > ReferenceError: describe is not definedit; > ReferenceError: it is not definedexpect; > ReferenceError: expect is not definedinject; > ReferenceError: inject is not definedmodule; > ReferenceError: module is not defined ... describe; > function jasmineInterface.describe(description, specDefinitions)it; > function jasmineInterface.it()expect; > function jasmineInterface.expect(actual)inject; > function angular.mock.inject()module; > function angular.mock.module()
๐ŸŒ
Infragistics
infragistics.com โ€บ blog โ€บ angular โ€บ using jasmine & karma to write and run unit tests for angularjs apps
Using Jasmine & Karma to Write and Run Unit Tests for AngularJS Apps
February 25, 2025 - Learn how to write unit tests with jasmine, how to run them with karma, and how to create proxies of AngularJS controls like filter, controller, and more.
๐ŸŒ
Karma-runner
karma-runner.github.io โ€บ 6.4 โ€บ intro โ€บ installation.html
Karma - Installation
# Install Karma: $ npm install karma --save-dev # Install plugins that your project needs: $ npm install karma-jasmine karma-chrome-launcher jasmine-core --save-dev
๐ŸŒ
Reddit
reddit.com โ€บ r/angular2 โ€บ opinions on jasmine / karma vs jest / others
r/Angular2 on Reddit: Opinions on Jasmine / Karma vs Jest / others
January 2, 2020 -

Coming from React, and hardly ever having worked with Angular, I want to get the best testing experience possible. With React, I used Jest and React Testing Library the most (I ended up not liking Enzyme). I saw that there is Angular Testing Library supported by the same guy and looks nice.

What test tools does everyone use? Is Jasmine and Karma good enough to fit your needs, and if not, what is it lacking that other tools you use cover?

๐ŸŒ
Npm
npm.io โ€บ package โ€บ karma-jasmine
Karma-jasmine NPM | npm.io
Adapter for the Jasmine testing framework. ... // karma.conf.js module.exports = function(config) { config.set({ frameworks: ['jasmine'], files: [ '*.js' ] }) }