<div id="compose" contenteditable="true" style="padding-left: 20px; padding-right: 20px; padding-bottom: 8px;"><div>Sorry I haven't been following the evolution process very closely: will prefixes be dropped from the SDK overlays? In other words: will Apple XCTest's "XCTestCase", when used from Swift, be named "TestCase"?<br><br>I ask because the primary goal of swift-corelibs-xctest is to allow developers to write one set of tests that will seamlessly work on all platforms. So I think corelibs-xctest will continue to use whatever names Apple XCTest uses--after all, it would be a pain if developers had to write:</div><div><br></div><div>#if os(Darwin)</div><div>class MyTestCase: XCTestCase {</div><div>#else</div><div>class MyTestCase: TestCase {</div><div> // ...</div><div>}</div><div><div class="acompli_signature"></div><br></div><div>- Brian Gesiak</div></div>
<div class="gmail_quote">_____________________________<br>From: Tony Arnold via swift-corelibs-dev <<a dir="ltr" href="mailto:swift-corelibs-dev@swift.org" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0">swift-corelibs-dev@swift.org</a>><br>Sent: Friday, February 26, 2016 7:48 PM<br>Subject: [swift-corelibs-dev] Changing the name of XCTest* to Test*<br>To: <<a dir="ltr" href="mailto:swift-corelibs-dev@swift.org" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2">swift-corelibs-dev@swift.org</a>><br><br><br>Hi Everyone,<br><br>I posted something along these lines a couple of weeks back, but I wanted to raise it more formally:<br><br>Given that the standard for Swift classes is to not include prefixes, I’d love to see (and contribute to) the “XC” being dropped from XCTest. <br><br>I’d propose that it’s important/core enough to warrant changing from “XCTestCase” to “Swift.TestCase" (et al) or something very similar.<br><br>What are people’s thoughts on this?<br><br><br><br>Tony<br><br><br><br><br>----------<br>Tony Arnold<br><a dir="ltr" href="tel:+61%20411%20268%20532" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="3/1">+61 411 268 532</a><br><a dir="ltr" href="http://thecocoabots.com/" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="3/2">http://thecocoabots.com/</a><br><br>ABN: <a dir="ltr" href="tel:14831833541" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="4">14831833541</a><br><br>_______________________________________________<br>swift-corelibs-dev mailing list<br><a dir="ltr" href="mailto:swift-corelibs-dev@swift.org" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="5">swift-corelibs-dev@swift.org</a><br><a dir="ltr" href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="6">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br><br><br></div>