 
 public class XCTestCase {
 
+    /// The name of the test case, consisting of its class name and the method name it will run.
+    /// - Note: FIXME: This property should be readonly, but currently has to be publicly settable due to a
+    ///         toolchain bug on Linux. To ensure compatibility of tests between
+    ///         swift-corelibs-xctest and Apple XCTest, this property should not be modified.
+    public var name: String
+
     public required init() {
+        name = "\(self.dynamicType).<unknown>"
     }
 
     public func setUp() {

        let overallDuration = measureTimeExecutingBlock {
            for (name, test) in tests {
                let testCase = self.init()
                let fullName = "\(testCase.dynamicType).\(name)"

                var failures = [XCTFailure]()
                XCTFailureHandler = { failure in
                    if !testCase.continueAfterFailure {
                        failure.emit(fullName)
                        fatalError("Terminating execution due to test failure", file: failure.file, line: failure.line)
                    } else {
                        failures.append(failure)
                    }
                }

                XCTPrint("Test Case '\(fullName)' started.")

                testCase.setUp()



                var result = "passed"
                for failure in failures {
                    failure.emit(testCase.name)
                    totalFailures += 1
                    if !failure.expected {
                        unexpectedFailures += 1
