testez icon indicating copy to clipboard operation
testez copied to clipboard

No way to mark test as pending/skip within function

Open Quenty opened this issue 6 years ago • 2 comments

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

Quenty avatar Jun 16 '18 19:06 Quenty

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.

LPGhatguy avatar Jul 16 '18 23:07 LPGhatguy

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

evaera avatar Jul 17 '18 06:07 evaera