Hacker News new | ask | show | jobs
by bryanlarsen 4280 days 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-an...

1 comments

There 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.)