Closed juliemr closed 10 years ago
Hey @juliemr. It might interest you to know that I just pushed a working jasmine-only to npm and it works in conjunction with minijasminenode just fine (one just needs to do `require('jasmine-only') from a spec helper so that it can monkey-patch the global jasmine goods).
The output is a little silly, though. Here's a suite with 4 specs but only the third one is actually being run with it.only
(see "4 tests, 1 assertion")?
....
Finished in 0.004 seconds
4 tests, 1 assertion, 0 failures
So that is to say it "works" now, but it's not abundantly obvious to the user that it's working. I suspect your custom reporter would just need to be tweaked to exclude non-asserting tests.
If you need an example feel free to ask
Awesome, thanks for this workaround!
Closed in 0.2.6
These features will be available in Jasmine 2.0, but it would be nice to have them in the meantime.