[swift-dev] [SR-710][RFC] Automatically detecting XCTest test methods on Linux: Reflection? SourceKit?

Dmitri Gribenko gribozavr at gmail.com
Sun Apr 3 22:05:22 CDT 2016


On Sun, Apr 3, 2016 at 7:56 PM, Brian Gesiak <modocache at 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.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-dev mailing list