Skip to content

Commit

Permalink
Elaborate a bit more on todo, skip, skip_rest
Browse files Browse the repository at this point in the history
As spotted by japhb++
  • Loading branch information
lizmat committed Aug 14, 2014
1 parent edccb81 commit a939132
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions S24-testing.pod
Expand Up @@ -55,6 +55,11 @@ All of the following functions are exported by default:
flunk($desc?)
diag($desc)

# skipping
todo($reason, $count = 1)
skip($reason, $count = 1)
skip_rest($reason?)

# evaluates $cond in boolean context
ok(Mu $cond, $desc?)
nok(Mu $cond, $desc?)
Expand Down Expand Up @@ -143,6 +148,9 @@ they would die), and emits C<$count> SKIP markers in the TAP output.
The C<skip_rest()> function can be called conditionally to C<skip($remaining)>
all of the remaining tests.

The C<todo()> and C<skip()> functions are generally automatically generated
by some sort of source code fudging program.

=head2 ok(), nok()

sub ok(Mu $cond, $desc?) is export { ... }
Expand Down

0 comments on commit a939132

Please sign in to comment.