That said it only ran once for each test case.
它只表示在每一次测试用例中只运行一次GC。
In the table, there is a row for each test case.
在表中,每个测试用例占一行。
For each test case. basically you need to extend your test class from TestCase.
对于每个案例来说,您都需要从TestCase扩展您的测试类。
First one, when I write a piece of code, especially code that has branches in it, when I design test cases for that piece of code, I should try and have a specific test case for each possible path through the code.
第一点,当我们写代码的时候,尤其是一些含有分支语句的代码的时候,当我为这些代码,设计测试用例的时候,我应该为每一个可能的程序路径,都设计一个特别的用例。
应用推荐