阅读背景:

在不同的测试类之间共享数据。

来源:互联网 

I have a dedicated test class for each different component I need to test in a particular module. All these tests revolve around the same object/context so it could be an improvement in performance if the corresponding objects weren't created and inserted in the test database and then deleted for every single test class:I have a dedicated test class for each differen




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: