nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

[FR]: Rewrite UI tests to take advantage of Robot design pattern

Open JanFidor opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the problem

Designed by Jake Wharton, Robot pattern makes for both much more readable UI tests and much easier code reusability. Quick description of the pattern in conjunction with compose: https://proandroiddev.com/lessons-learned-on-jetpack-compose-ui-testing-robot-pattern-d5e82a9f4efc

Describe the solution

I've rewritten all feature UI tests with this pattern.

Additional context

I know it's a lot of changes, but I really wanted to contribute and I thought it would be better to do everything in one fell swoop to keep consistency between all tests. There are no actual logic changes in tests themselves, except for one which I mentioned in the PR.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

JanFidor avatar Nov 06 '22 17:11 JanFidor

@JanFidor nice suggestion! are you still working on this? I'd like to take it up if not

tobioyelekan avatar Dec 30 '24 08:12 tobioyelekan