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

Commit

Permalink
[ja] Sync with b37716a
Browse files Browse the repository at this point in the history
Sync #86 and cleanup.
  • Loading branch information
m-takagi committed Feb 22, 2013
1 parent 98095fc commit bedcfab
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions branches/3.8/ja/writing-tests-for-phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,11 @@ class CsvFileIterator implements Iterator {
<indexterm><primary>@dataProvider</primary></indexterm>
<indexterm><primary>@depends</primary></indexterm>

すべてのデータプロバイダを実行してから
<literal>setUp</literal> 関数がコールされます。そのため、
<literal>setUp</literal> 関数で作った変数にデータプロバイダ内からアクセスすることはできません。
すべてのデータプロバイダを実行してから、
静的メソッド <literal>setUpBeforeClass</literal>
や <literal>setUp</literal> メソッドの最初の呼び出しが発生します。そのため、
これらのメソッドで作った変数にデータプロバイダ内からアクセスすることはできません。
そうなっている理由は、PHPUnit がテストの総数を算出できるようにするためです。
</para>
</note>
</section>
Expand Down

0 comments on commit bedcfab

Please sign in to comment.