Skip to content

Commit 05414aa

Browse files
committed
[S24] expand on &todo, &skip
1 parent 1770286 commit 05414aa

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

S24-testing.pod

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Synopsis 24: Testing
1313

1414
Created: 30 Dec 2010
1515

16-
Last Modified: 31 Dec 2010
17-
Version: 6
16+
Last Modified: 17 Oct 2011
17+
Version: 7
1818

1919
=head1 SYNOPSIS
2020

@@ -110,4 +110,12 @@ TODO: more precise explanation
110110

111111
=head2 todo() and skip()
112112

113-
TODO
113+
todo($reason, $count = 1)
114+
skip($reason, $count = 1)
115+
116+
The C<todo()> function can be called before running other test functions, and
117+
markes the next C<$count> tests as TODO.
118+
119+
The C<skip()> function is called I<instead> of the some tests (usually because
120+
they would die), and emits C<$count> SKIP markers in the TAP output.
121+

0 commit comments

Comments
 (0)