background image
<< Skipping Tests | skip an entire block of code >>
<< Skipping Tests | skip an entire block of code >>
explicitly skip a set of tests
# SKIP
You can explicitly skip a set of tests rather than run them.
1..2
ok 1
ok 2 # SKIP no beer
x
Test #1 passed.
x
Test #2 was skipped because there is no beer.
A skipped test means the test was never run.