[swift-corelibs-dev] Internal Tests
Robert Stephen Thompson
robert.thompson at willowtreeapps.com
Tue Mar 15 09:54:52 CDT 2016
If it doesn’t use it on Linux, it’s because I was mostly running tests in Xcode heh, and didn’t end up needing it in the end. On Linux, of course, I think you’d want @testable import Foundation. I’m not an Apple guy, though, I just happen to be the guy who wrote TestNSXMLDocument.swift! So if there is actually a reason not to use it, I’m not aware of it, but don’t necessarily take my word for it!
Thanks,
Robert Thompson
Software Engineer
WillowTree, Inc.®
willowtreeapps.com <http://willowtreeapps.com/>
> On Mar 15, 2016, at 8:02 AM, Daniel Eggert via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
>
> Is it ok to use
> @testable import SwiftFoundation
> in tests? I'd like to test some internal code.
>
> TestNSXMLDocument.swift uses this, but not on Linux. What's the reason for this?
>
> /Daniel
>
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160315/20ea1e16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160315/20ea1e16/attachment.sig>
More information about the swift-corelibs-dev
mailing list