0
次のテストファイルがあります。奇妙なことは、私がCMD + Uを打つと、テストは完全に実行されますが、ファイルがテストファイル(つまり、コードの左側にダイヤモンドがない)という兆候はないということです。Xcodeがユニットテストを認識しない
import XCTest
@testable import Saba_Center
class SabaCenterTests: XCTestCase {
var residentAlimVC: ResidentAlimViewController!
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
let storyboard = UIStoryboard(name: "Main", bundle: NSBundle.mainBundle())
vc = storyboard.instantiateInitialViewController() as! ResidentAlimViewController
_ = vc.view
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}
}
は、ログメッセージです:その実行ファイルが見つかりませんでしたので、バンドル「SabaCenterTestsは」ロードできませんでした –