<div dir="ltr"><div>This was accepted for Swift 3.0:<br></div><a href="https://github.com/apple/swift-evolution/blob/master/proposals/0019-package-manager-testing.md">https://github.com/apple/swift-evolution/blob/master/proposals/0019-package-manager-testing.md</a><br><div class="gmail_extra"><br></div><div class="gmail_extra">SE-0019 adds 'swift test' among other things.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-david</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 27, 2016 at 10:26 AM, Jason Lee via swift-users <span dir="ltr"><<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've read thru a few posts about XCTest with swift open source (which I'll refer to from here on out as swift-os). I'm familiar with XCTest in the usual XCode toolchain and use it all the time on my XCode projects. However, I'm still trying to figure out the best way to use it on swift-os.<br>
<br>
My two issues now are:<br>
1. I can't even import the XCTest package into my project<br>
2. How to bootstrap it<br>
<br>
I know there's been some discussion in that project on github, but it seems like the way I've seen others 'solve' this is to just use Xcode if I'm on a Mac (which I am). One of my goals for this project is not to have to use Xcode (I know I'm making it harder on myself missing out on code completion, etc). One side effect of this is I really have to know how all these things work.<br>
<br>
Ideally I'd like to just have something like 'swift test' or maybe a binary exec that could run my tests for me? Seems like that's the preferred way, so maybe just trying to fig out how to solve #1 above is my big priority.<br>
<br>
Thanks...<br>
<br>
Sent from my iPhone<br>
_______________________________________________<br>
swift-users mailing list<br>
<a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-users</a><br>
</blockquote></div><br></div></div>