我正在尝试XCTest框架{ // Put setup code here. This method is called before the invocation of each test method in the class.{
// Put teardown code here. This method is called after the invocation of each test me
我有一些单元测试,其中我使用模拟来模拟向应用程序发出“真实”请求的AppKernel和功能测试。当单独运行单元测试或功能测试时,一切工作正常。Fatal error: Cannot redeclare class AppKernel in C:\Users\sebastian\workspace我该怎么做才能让事情变得正确并“重置”测试运行的环境呢?