Since there is no way to know when this class will be referenced and since it has no explicit initialization methods, this appears legitimate.
由于没有办法可以知道这个类什么时候会被引用,并且因为没有显式的初始化方法,这样做看起来是合法的。
It is quite okay to have a regression suite in which only couple of tests need some sort of explicit initialization and therefore use the fixture feature.
在回归测试套件中可能只有几个测试需要某种显式的初始化,因此可以只对它们使用装备特性。
It is quite okay to have a regression suite in which only couple of tests need some sort of explicit initialization and therefore use the fixture feature.
在回归测试套件中可能只有几个测试需要某种显式的初始化,因此可以只对它们使用装备特性。
应用推荐