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

UI testing for the demo app #453

Open
7 tasks
JakeLin opened this issue Apr 18, 2017 · 1 comment
Open
7 tasks

UI testing for the demo app #453

JakeLin opened this issue Apr 18, 2017 · 1 comment

Comments

@JakeLin
Copy link
Member

JakeLin commented Apr 18, 2017

Following up #450, when we do refactor, we may accidently break some features.

I don't know the best practice for unit testing UI. We developed a demo app (IBAnimatable Playground) to test our features. We use it for testing new features, fixing bugs and doing refactor. But it is not straight forward and we have to check them manually. If we can have some UI Testing in Xcode. We may be able to integrate it with CI and check for every PR.

We don't have to do it all in one go. We can develop it bit by bit:

  • User Interface: It has a list of UI components like placeholder, mask, etc, we can do it one by one.
  • Animations: Changing the picker view.
  • Activity Indicator: Changing the picker view. That would be an easy one to start with
  • Refresh Control: Pulling the table view to refresh.
  • Transitions: Clicking on the table view cell.
  • Presentations
  • Interactions
@tbaranes
Copy link
Member

Even if the current state of XCUITest are a bit limited (can't test the layer, the animations...), we can still do basic animations with a simple navigation which ensure us to be able to launch each feature without crashing.

Let's hope that will be improved in the future version of XCUITest!

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

2 participants