> On Apr 3, 2016, at 10:05 PM, Dmitri Gribenko <griboz...@gmail.com> wrote:
>
>> Hmm... but then wouldn't that more tightly couple the test discovery tool
>> and the Swift compiler? In an earlier email you said you "like #3 better
>> [...] because that would decouple the test discovery tool from the Swift
>> compiler." I think that part is confusing me.
>
> Sorry -- what I meant is that the compiler remains the point of truth
> about the language and can find the tests. The tools that actually
> generate glue code won't need to parse code, and would be decoupled
> from the compiler.
I am internally shipping a test framework that discovers tests via an
out-of-tree parser. Teaching swiftc about XCTest syntax is not sufficient to
deprecate my parser, and therefore is not sufficient for the compiler to be the
source of truth for my tests.
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev