Here are the gamma and unit setup I used.
这是我用到的伽马和单位设置。
In a unit test case, for example, the execution environment for the object is the test case itself, and the test setup code is tasked with satisfying the dependencies directly.
例如,在单元测试用例中,对象的执行环境是测试用例本身,所以测试设置代码有责任直接满足依赖项。
The setUp method is called before execution of a unit test, and tearDown is called when the test is executed.
在执行单元测试之前调用setUp方法,在测试执行完时调用tearDown。
应用推荐