Giter VIP home page Giter VIP logo

Comments (7)

just-boris avatar just-boris commented on July 16, 2024

It's impossible, because this specs don't add to the queue and don't include in report. Here's implementation of xit in jasmine

jasmine.Env.prototype.xit = function(desc, func) {
    return {
        id: this.nextSpecId(),
        runs: function() {
    }
};

As can be seen here, description and function body are ignored here.

But how about of disabling specs using jasmineEnv.specFilter? Now, Karma doesn't use it, as I see.
It will be convenient, if you allow to filter specs by substrings in titles like it does default Jasmine HtmlReporter.

from karma-jasmine.

blabno avatar blabno commented on July 16, 2024

+1 for reporting xit/xdescribe. It would be great to be able to add ignored scenarios or scenarios ideas, see those in CI as ignored but still have the build success.
That way one could know that there is still some work to do.

from karma-jasmine.

msafi avatar msafi commented on July 16, 2024

+1

from karma-jasmine.

just-boris avatar just-boris commented on July 16, 2024

Jasmine 2.0 introduce new status — pending specs: http://jasmine.github.io/2.0/introduction.html#section-Pending_Specs
It gives opportunity to collect new information in the karma reporter

from karma-jasmine.

vojtajina avatar vojtajina commented on July 16, 2024

@just-boris you can monkey patch xit method to actually collect them ;-)

from karma-jasmine.

fiznool avatar fiznool commented on July 16, 2024

+1

from karma-jasmine.

maksimr avatar maksimr commented on July 16, 2024

In [email protected] we print skipped tests

Firefox 33.0.0 (Ubuntu): Executed 1 of 2 (skipped 1) SUCCESS (0.004 secs / 0.001 secs)

from karma-jasmine.

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.