jasmine-only
jasmine-only is a standalone plugin that you can load after jasmine that adds mocha-style exclusivity helpers describe.only
and it.only
to jasmine 1.3.1
Download the latest version here.
examples
The exclusivity feature allows you to run only the specified suite or test-case by appending .only() to the call
here is a simple example:
aliases
jasmine-only has the following aliases for exclusive spec helpers
describe.only
can be written as ddescribe
it.only
can be written as iit
thanks / prior art
Much of this work is based on existing prior art, thanks to: