Level 41
In phpunit: use the markTestSkipped method.
In pest: use the skip method.
In phpunit, if we organise test cases into groups, we can skip test groups.
2 likes
Is there a way to quickly disable/deactivate a Unit or Feature test without, say, commenting out all it's code, or using 'return false' at the beginning of the method which will mark it as "risky"?
i.e. you start writing a test, get distracted by some other problem and want to return to it later etc.
In phpunit: use the markTestSkipped method.
In pest: use the skip method.
In phpunit, if we organise test cases into groups, we can skip test groups.
Please or to participate in this conversation.