Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Add proper UI tests. #84

Open
miguelandres opened this issue Nov 17, 2016 · 0 comments
Open

Add proper UI tests. #84

miguelandres opened this issue Nov 17, 2016 · 0 comments

Comments

@miguelandres
Copy link
Contributor

Remixer UI's test coverage is abysmal.

We need to do the following:
-Test RemixerItemWidgetHelper making sure that it always returns the expected layout.
-Add proper UI tests using espresso for each of the widgets. They may be hard to initialize but preferably these unit tests need to be completely independent of Remixer itself and only depend directly on a RemixerItem and and a RemixerItemWidget.
-Add UI tests to the example app, these will act as integration tests.

  • I have worked on this before but it is hard, I have to say.
  • Remixer fragment is in a separate window and it contains a RecyclerView, recycler views don't work with Espresso's default onData, so something else may be needed.
  • Scrolling the recycler view in the test may be an issue.
  • There is no support for spinners (ItemListWidget) on Espresso so you have to roll your own.
  • Espresso is just ugly, is there nothing else? (I think not) I find myself constantly frustrated by this. I am just ranting by now, time to just submit the issue and stop typing.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant