testez
testez copied to clipboard
No way to mark test as pending/skip within function
There's no way to mark a test as currently pending. This makes it hard to indicate functionality that should work, while it doesn't.
While SKIP is effectively the same behavior, sometimes it's nice to mark a test as pending, and throw away the results, with the intent of enabling the test eventually
Sorry I'm just getting back to this :smile:
So, I think I understand -- essentially you want to run a test still, and know if it passes/fails, but ignore it for the purposes of overall pass/fail? I've definitely wanted this when working on larger refactors.
Possibly related: https://mochajs.org/#pending-tests
Even if this isn't what OP means, I'd really like to have the ability to do this in testez anyways. In fact, I tried to do this just today and was surprised that it didn't work :P