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

Dmitri Gribenko gribozavr at gmail.com
Sun Apr 3 20:06:12 CDT 2016


On Sun, Apr 3, 2016 at 4:53 PM, Brian Gesiak <modocache at gmail.com> wrote:
> My concern with adding a swiftc option would be deciding upon an interface
> to it. Would we want something like clang-query--a generic method of finding
> methods that match a set of criteria? That seems like it would be a lot of
> work to implement.

I imagined it would be an XCTest-specific flag, to only find
XCTest-style test methods.

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