TestSwiftPackageXCTestTests.swift•607 B
import XCTest
@testable import TestSwiftPackageXCTest
final class LegacyTests: XCTestCase {
func testExample() throws {
let spm = TestSwiftPackageXCTest()
XCTAssertEqual(spm.text, "Hello, TestSwiftPackageXCTest!")
}
func testFailingTest() async throws {
// This test is designed to fail for MCP testing
XCTFail("Test MCP failing test reporting")
}
func testAnotherFailure() async throws {
// Another failing test to verify multiple failures are handled
XCTAssertEqual(42, 100, "Expected 42 to equal 100 but it doesn't")
}
}