dblock / obcd

Deal with obsessive compulsive issues of programmers in Objective-C.
MIT License
42 stars 8 forks source link

Add the ability to have some keyword checks in tests #14

Open orta opened 10 years ago

orta commented 10 years ago

It's possible to leave in focused tests, so instead of it you leave fit and then the tests only run one test. Ideally fit(@" & fdescribe(@" should get caught by the linter.

I'd also like recordSnapshot in there.

/cc @w5mith

wessmith commented 10 years ago

It should probably cover all of these possibilities:

from Specta

Prepend f to your describe, context, example, it, and specify to set focus on examples or groups. When specs are focused, all unfocused specs are skipped.