Skip to content
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

Running new tests #7

Open
orta opened this issue Aug 9, 2016 · 0 comments
Open

Running new tests #7

orta opened this issue Aug 9, 2016 · 0 comments

Comments

@orta
Copy link
Owner

orta commented Aug 9, 2016

This one is tricky, and I think it's best from the get go, we try to understand that there are two ways to do this.

  1. Use the XCTest private API
  2. Make our own test runner that does most of what the XCTest runner does

I think both have positive and negatives. The pragmatist in me wants to see the second more, but given that this is tests and you really do want to be confident in the results - the private API may be the place to go.


So, what are the requirements here? Well, you'll need to get familiar with this - https://github.com/modocache/XCTest-Headers/find/master

From there, I can offer some advice, but without research it's hard to say.

My guess, is that you create an _XCInternalTestRun object, and pass it an instance of each class, then run through them. I'm now sure how you can get a callback that it's finished though - maybe it is synchronous.

Then the native-client needs to notify the server for that test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant