Jasmine added fit
and fdescribe
in 2.1 for running single tests or describe blocks.
http://pivotallabs.com/new-key-features-jasmine-2-1/
This feature almost made it in the 2.0 release. Now enough of this
functionality is present to support fit and fdescribe for focused spec
and suite running.
from 2.1 git lib/jasmine-core/jasmine.js
var jasmineInterface = {
describe: function(description, specDefinitions) {
return env.describe(description, specDefinitions);
},
xdescribe: function(description, specDefinitions) {
return env.xdescribe(description, specDefinitions);
},
fdescribe: function(description, specDefinitions) {
return env.fdescribe(description, specDefinitions);
},
it: function() {
return env.it.apply(env, arguments);
},
xit: function() {
return env.xit.apply(env, arguments);
},
fit: function() {
return env.fit.apply(env, arguments);
},