Download for Windows Premium
Publiciteit
test case class

Vertaling van "test case class" in Chinees

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.
如果两个 setUp() 是确实不一样,那么需要另外一个测试用例类。参考基境建立工作的不同之处来命名这个类。
disabled for all tests of a test case class like this use PHPUnit\Framework\TestCase
全局变量的备份与还原操作可以对某个测试用例类中的所有测试彻底禁用,像这样:use PHPUnit\Framework\TestCase;
Below is the output of running the generated test case class.
下面是针对所生成的运行测试的结果。
Usage of this rule in a new test case class is straightforward, we simply declare a field with the new type annotated with @Rule, like so
在新的测试用例类中,该规则的使用方法很直接,只需简单地定义一个域,并将其中新类型标注为@Rule即可。
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.
例 14.6展示了一个数据驱动的测试用例类,对来自 CSV 文件内的值进行比较。这个文件内的每个行看起来类似于 foo;bar,第一个值是期望值,第二个值则是实际值。
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.
上面这个调用例子中,PHPUnit 命令行测试执行器将在当前工作目录中寻找 ArrayTest.php 源文件并加载之。而在此源文件中应当能找到 ArrayTest 测试用例类,此类中的测试将被执行。
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor test case class in het Engels

Woord & uitdrukking van de dag
Afbeelding van de dag
daisy: small white and yellow flower common in grassy areas
Ontdek het woord
Publiciteit

Resultaten: 9. Exact: 9. Verstreken tijd: 14 ms.