Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clarify that subtest() counts as one test
  • Loading branch information
zoffixznet committed Jul 19, 2016
1 parent 3ab9d10 commit ff37694
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/Language/testing.pod6
Expand Up @@ -437,8 +437,9 @@ The result of a group of subtests is only C<ok> if all subtests are C<ok>.
=item X<subtest(&subtests, $description?)|subtest>
The C<subtest> function executes the given block, consisting of usually more
than one test, possibly including a C<plan> or C<done>. It will pass the
test only if B<all> tests in the block, pass. The function accepts an
than one test, possibly including a C<plan> or C<done>, and counts as I<one>
test in C<plan>, C<todo>, or C<skip> counts. It will pass the
test only if B<all> tests in the block, pass. The function accepts an
optional C<$description> of the test.
=begin code
Expand Down

0 comments on commit ff37694

Please sign in to comment.