Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jasmine option "Stop execution on spec failure" does not work properly in combination with karma

See original GitHub issue


  • Jasmine core : v3.1.0
  • karma-jasmine: v1.1.2
  • Chrome 69
  • Operating System and version (desktop or mobile): OSX 10.13.6

Please see

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

maximeduprecommented, Dec 24, 2018

Please reopen as it has not been fixed.

DirkToewecommented, Jun 19, 2021

Sadly the hacky fix made in PR #231 does not work at all anymore with karma-jasmine 2.0.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command for karma-jasmine to stop unit-test after first fail
This would require creating a custom reporter, or changing the reporter in the karma-jasmine adapter to stop on spec failure as such: this....
Read more >
Frequently Asked Questions - Jasmine Documentation
Why does Jasmine allow multiple expectation failures in a spec? How can I disable that? How can I get Jasmine to fail specs...
Read more >
Angular Testing With Jasmine And Karma Using Selenium ...
A comprehensive tutorial on how to perform Angular testing with Jasmine and Karma using Selenium.
Read more >
Measuring code coverage - Testing Angular
In Angular's Karma and Jasmine setup, Istanbul is used for measuring test coverage ... the test execution fails even if all specs succeeded....
Read more >
Unit test reports - GitLab Documentation
Select the test name to open a modal window with details of its execution time and the error ... GitLab does not parse...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found