-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Facebook's xctool #308
Comments
Hey @parse thanks for cross-linking that issue. Yes, Faceboook xctool support would be nice. We'll spend some time looking into it via the info referenced in that issue and follow up soon. |
Hey Andrew, I just wanted to bump this. I work at Ship.io and we really want to be able to support Cedar for our users, but it doesn't work right now because of the xctool incompatibility. Do you have a sense of what changes need to be made for it to work? |
I second that! |
I third that! |
Thanks for all the bumps on this thread, it's good to gauge interest in this issue. I realize I neglected to add more info earlier after spending some time investigating while between projects. Unfortunately, this incompatibility boils down to how xctool discovers test cases - it expects them to be XCTestCase subclasses, which Cedar's specs are not. While Cedar fully supports running specs inside an XCTest bundle alongside XCTestCases, it is not as tightly coupled to XCTest as other third party testing frameworks. We also use our spec classes outside of bundles for test harnesses and other kinds of testing infrastructure, for which XCTest is not well suited. To address this, Cedar would need to couple more tightly with XCTest, or xctool would need some additional work to be aware of Cedar specs. I haven't checked, but I assume that xctool might not work with GHUnit for the same reason. Unfortunately we probably won't have bandwidth to patch xctool or Cedar for this issue in the near future, at least not during working hours due to project load. If anyone who uses xctool more regularly wants to try their hand at a patch, please refer to the helpful links in the corresponding issue thread facebookarchive/xctool#417 . |
Thanks to some wonderful investigatory work that @briancroom did recently, it is now possible to run Cedar specs that are setup as a Test Bundle with xctool, using the @parse how do you feel about closing this issue? Is there any more we could do here to improve support? |
FWIW, due to yesterday's merge, today @idoru and I started using xctool as On Thu, Oct 8, 2015 at 1:34 AM, Tim Jarratt notifications@github.com
|
For future reference in case this breaks again, the code within |
Thanks @briancroom for all your help in getting this working. |
Related to: facebookarchive/xctool#417
It would be awesome to be able to run Cedar in xctool.
Thanks
The text was updated successfully, but these errors were encountered: