Giter Site home page Giter Site logo

Comments (2)

sgravrock avatar sgravrock commented on July 18, 2024

Jasmine doesn't provide a way to stop an entire describe but not the whole suite. The idea is that each spec is supposed to be independent of the others, so the failure of one spec doesn't necessarily mean that the others can't run and pass. Are you by any chance trying to write a test suite where each spec is a step that depends on the ones before it to set up its preconditions? Jasmine isn't meant to be used that way.

It sounds like you're probably configuring Jasmine through wdio-jasmine-framework. Based on a quick look at that package's source, it looks like both the oneFailurePerSpec and stopSpecOnExpectationFailure flags should have the effect of making Jasmine stop each spec (but not the entire describe) on the first error but continue to run the remaining specs.

from jasmine-npm.

sgravrock avatar sgravrock commented on July 18, 2024

Closing since we haven't heard anything in some time, and I don't think there's anything to be fixed in Jasmine here.

from jasmine-npm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.