DEV Community

Discussion on: Running a single test suite/spec in Jasmine

Collapse
 
bradtaniguchi profile image
Brad

I believe in future versions (3+?) of jasmine using fdescribe and fit will make the overall process "fail" as the tests will be incomplete. I personally usually put a check to verify a certain coverage of tests are ran, so if I do accidentally commit these, the coverage check will fail.

Collapse
 
dzhavat profile image
Dzhavat Ushev

A coverage check sounds like a good strategy to guard against accidental fdescribe/fit. I haven't seen yet the first part where Jasmine will fail overall, but this too makes sense.