[swift-evolution] [Draft] Test-Only Package Dependencies and Targets

David Hart david at hartbit.com
Thu Jan 26 01:34:28 CST 2017


I'm confused. I've followed this from afar as I don't have much SwiftPM experience, but if that is true, what's the point of the proposal?

> On 26 Jan 2017, at 08:12, Ankit Agarwal via swift-evolution <swift-evolution at swift.org> wrote:
> 
> The test targets are *not* compiled when you run swift build. They're only complied on invocation of `swift test`. If a test target depends on a testing library (as in my example), they will *not* be built on invocation of `swift build`.



More information about the swift-evolution mailing list