cedarbdd / cedar

BDD-style testing using Objective-C
http://groups.google.com/group/cedar-discuss
1.19k stars 140 forks source link

Adjust XCTest integration such that xctool finds Cedar specs #360

Closed briancroom closed 8 years ago

briancroom commented 8 years ago

I'm hoping to play with this a little more to get more confidence in this change, but this seems to be a simple way to get to xctool find and execute Cedar specs. It turns out that xctool calls +[XCTestSuite allTests] when gathering the available tests. This method isn't in the public interface, but is what +[XCTestSuite defaultTestSuite] delegates to for doing all its work.

CC folks involved in #308 and facebook/xctool#417 - please give this a try! @parse @haskelash @adamhrz

thunderweasel commented 8 years ago

I tried this out on my current project, and it seems like it totally works.

briancroom commented 8 years ago

Thanks for taking the time to test this out @pivotal-ryan-mcleod. I've merged this into master now!