<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Since we don’t have any name spacing facility yet, I think the right answer here is for packages to always give their tests a name like &lt;Package&gt;Tests.<div class=""><br class=""></div><div class="">Even though we might conceptually be able to allow a few limited areas of collision, it gets cumbersome when we might offer features like “run all tests of all dependencies”, since we would have to add more complexity to the build process to support this. That doesn’t feel worth it to me given that non-test targets are going to always require some for of name-based name spacing.<br class=""><div><br class=""></div><div>&nbsp;- Daniel</div><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 29, 2017, at 1:57 PM, Taylor Swift via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Many libraries I maintain contain a <span style="font-family:monospace,monospace" class="">testTarget</span> called "Tests", but whenever an external package depends on two or more library packages, the "Tests" targets conflict with one another, even though the <span style="font-family:monospace,monospace" class="">testTarget</span>s are never actually depended on. How do I get the SPM to ignore them?<br class=""></div>
_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>