openintents / shoppinglist

OI Shopping List
http://openintents.org/shoppinglist
64 stars 49 forks source link

Add test case for EditItem Dialog #67

Open FlyingPumba opened 4 years ago

FlyingPumba commented 4 years ago

This PR adds an Espresso test case for the Shopping Activity and EditItem Dialog. It also includes three auxiliary classes with two custom Matchers and one custom ViewAction.

The test case was automatically generated using the ETG tool, which aims to achieve high activity coverage. In particular, this Espresso test increases the current overall coverage in the project by 20.58%.

Although this contribution was automatically generated, the code in this PR was manually reviewed to ensure it adheres to standard contribution guidelines.

friedger commented 4 years ago

Can you add some explanations what is tested?

FlyingPumba commented 4 years ago

Hi @friedger! The main part of the test case consists of adding an item to the Shopping list, opening the EditItem dialog, and then trying out several inputs for the fields in there. In the beginning of the test, it also walks through the navigation drawer and the RenameList dialog.

FlyingPumba commented 4 years ago

Hi @friedger ! We haven't received a response yet for this PR. We would greatly appreciate if you can provide us any type of feedback.