· software
Swift Testing #1: 将 XCTest 测试套件迁移到 Swift Testing
swift import XCTest @testable import ProductionProject class SomeXCTest_deprecated: XCTestCase { func testX() throws { // GIVEN // ... // WHEN // ... // THEN // ... } }
swift import XCTest @testable import ProductionProject class SomeXCTest_deprecated: XCTestCase { func testX() throws { // GIVEN // ... // WHEN // ... // THEN // ... } }