We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
测试用例类
Followed by the actual test code (in a new test case class), to use our test rule
紧接着是实际的测试代码(在一个新的测试用例类中),去使用我们的测试规则:
The @before annotation can be used to specify methods that should be called before each test method in a test case class.
before 标注用于指明此方法应当在测试用例类中的每个测试方法开始运行之前调用。
For each method in the original class, there will be an incomplete test case (see Chapter 9) in the generated test case class.
原始类中的每一个方法在生成的测试用例类中都会有一个对应的标为不完整的测试用例(参见第 7 章)。
If you really have a different setUp(), you need a different test case class. Name the class after the difference in the setup.
Example 14.6 shows a data-driven test case class that compares values from a file with Comma-Separated Values (CSV). Each line of such a file looks like foo;bar, where the first value is the one we expect and the second value is the actual one.
When invoked as shown above, the PHPUnit command-line test runner will look for a ArrayTest.php sourcefile in the current working directory, load it, and expect to find a ArrayTest test case class. It will then execute the tests of that class.
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.