[swift-build-dev] Test only dependencies

Gordon Fontenot gordon at fonten.io
Fri Nov 4 14:34:25 CDT 2016


Hello all,

I'd like to start an earnest conversation about test only dependencies for
Swift Package Manager. This was, at one point, part of the original release
plan but at some point it stopped working and was subsequently dropped from
the API[1]. Additionally, some thought seems to have been given to this as a
part of the test naming convention proposal[2].

I'd like to understand more about why this was dropped/stopped working, and
what it would take to get it implemented. I see test-only dependencies as a
_massive_ hole in the current swift package manager functionality, and it's
actively preventing me from adopting `swift test` in most of the libraries I'm
involved in.

[1]: https://github.com/apple/swift-package-manager/commit/34b7826cb586b0769ea5f60a7718d7de599ce27f
[2]: https://github.com/apple/swift-evolution/blob/master/proposals/0129-package-manager-test-naming-conventions.md

 - Gordon Fontenot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20161104/d62fb8d4/attachment.sig>


More information about the swift-build-dev mailing list