Skip to content
This repository has been archived by the owner on Apr 12, 2018. It is now read-only.

Commit

Permalink
Sync #86 and cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
whatthejeff committed Feb 22, 2013
1 parent 8394399 commit b37716a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion branches/3.7/en/writing-tests-for-phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class CsvFileIterator implements Iterator {
All data providers are executed before both the call to the <literal>setUpBeforeClass</literal>
static method and the first call to the <literal>setUp</literal> method.
Because of that you can't access any variables you create there from
within a data provider. This is required in order for phpunit to be able
within a data provider. This is required in order for PHPUnit to be able
to compute the total number of tests.
</para>
</note>
Expand Down
8 changes: 5 additions & 3 deletions branches/3.8/en/writing-tests-for-phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,11 @@ class CsvFileIterator implements Iterator {
<indexterm><primary>@dataProvider</primary></indexterm>
<indexterm><primary>@depends</primary></indexterm>

All data providers are executed before the first call to the
<literal>setUp</literal> function. Because of that you can't access
any variables you create there from within a data provider.
All data providers are executed before both the call to the <literal>setUpBeforeClass</literal>
static method and the first call to the <literal>setUp</literal> method.
Because of that you can't access any variables you create there from
within a data provider. This is required in order for PHPUnit to be able
to compute the total number of tests.
</para>
</note>
</section>
Expand Down

0 comments on commit b37716a

Please sign in to comment.