-
Notifications
You must be signed in to change notification settings - Fork 13
UI Test Kit #5
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
base: master
Are you sure you want to change the base?
UI Test Kit #5
Conversation
…d up some unsubscription behaviour
|
Interesting stuff! A few comments:
Please split up the PR into separate PRs for RX bump, testkit, etc to make this easier for me to review and merge. |
|
I'll close this PR and fix 1,2 and re-check 4 (you've got me worried). 3." It's cool if the runner can be used with vanilla junit - we don't need any special IDE/gradle/maven support to run tests inside RoboVM" -- that's exactly right. Anything that supports JUnit 4 runners will work - I've tested maven and IntelliJ and both have worked as expected. "But how flexible is it? What if I want to run a test annotated with this runner in Oracle's JVM to compare with RoboVM? How do you run the same test in the simulator and on device?" |
|
Actually since this is marked as a milestone, i'll keep this PR open and fix the branch |
|
Yay, this will be very helpful! Especially for testing the new RoboPods! |
|
The RX version bump is already in a separate PR and I will merge that soon. I think we should split the runner and the UI testing into two different PRs. Maybe even create a separate repository or at least a separate top level Maven module for the UI testing framework. The UI testing is of course dependent on the cocoatouch bindings while the runner could be used regardless of cocoatouch being present, e.g. in Linux or an OS X app. Having a junit runner is a neat idea! One concern I have though is that class initializers may cause issues. E.g. if the test class has a |
basic framework for UITestKit