3 ms·
This may be a joke, but there are valid scenarios for this sort of thing, which is why rspec has pending and skipped tests: https://relishapp.com/rspec/rspec-c
by bryanlarsen 12y ago
This may be a joke, but there are valid scenarios for this sort of thing, which is why rspec has pending and skipped tests:
https://relishapp.com/rspec/rspec-core/v/3-1/docs/pending-and-skipped-examples https://relishapp.com/rspec/rspec-core/v/3-1/docs/pending-an...
- michaelmior 12y agoThere are valid scenarios for having a test which is expected to fail in some settings. But of course you should always know why a test might fail and be explicit. (Which is exactly what pending and skipped tests are for.)