Barista

The one who serves a great Espresso

OTHER License

Stars
1.7K
Committers
50

Bot releases are visible (Hide)

Barista - Barista has a brand new logo!

Published by rocboronat over 7 years ago

This version fixes the issue #62, related with avoiding autoscrolling when needed. The PR #64 fixes it. The fix has been driven by tests, so it will not happen again πŸŽ‰

Barista - Totally tested on production!

Published by rocboronat over 7 years ago

After using Barista on InfoJobs, Coches.net, Fotocasa, Vibbo, WorkSΓ­, Next-Visit and some internal Android libraries, we proudly move the library to 1.0.0! πŸ™Œ

In addition, this version adds these great features:
#58: Add a version of swipeViewPagerForward() and swipeViewPagerBack() that doesn't need to know the ViewPager's id, to speed up writing tests.
#55: Barista scrolls until the View you're interacting to becomes visible, to speed up writing tests.
#51: Only interacts with visible things. That's useful when you have a ViewPager with the same page again and again: interacting with any view inside the ViewPager will be a hell, cos they will be repeated, as described at #49, #17 and #8.

⚠️ Beware the aliens! This release has breaking changes:
#53: Old BaristaSwipeActions are now called BaristaViewPagerActions. This change has been done to be coherent with the other BaristaActions, that talk about the View that interacts to, not about the behavior of a user.

Barista - Fix click on RecyclerView and ListView

Published by Sloy over 7 years ago

  • Fixes click on RecyclerView when ItemView is wrapped (#48)
Barista - Add CheckBox status assertions

Published by rocboronat over 7 years ago

// Is the expected checkbox checked?
assertChecked("Checked checkbox");
assertChecked(R.string.checked_checkbox);
assertChecked(R.id.checked_checkbox);

// ...And the other checkbox unchecked?
assertUnchecked("Unchecked checkbox");
assertUnchecked(R.string.unchecked_checkbox);
assertUnchecked(R.id.unchecked_checkbox);
Barista - Clear Database Rule and assert repeated views

Published by Sloy over 7 years ago

Accept repeated views (#38)
Clear Database Test Rule (#29)
Introduce clickRecyclerViewItemChild to README.md (#43)

Barista - New actions and assertions

Published by rocboronat over 7 years ago

Check that EditText has hint #36

assertHint(R.id.edittext, R.string.hint);
assertHint(R.id.edittext, "Hint");

Tap a button of a Recycler's row #32

clickRecyclerViewItemChild(R.id.recycler, 3, R.id.button);
clickRecyclerViewItemChild(R.id.recycler, 3, "Button");

Tap a RadioButton using its position #30

clickRadioButtonPosition(R.id.radiogroup, 42);
Barista - FlakyActivityTestRule

Published by Sloy over 7 years ago

We added the FlakyActivityTestRule to replace Espresso's ActivityTestRule, allowing us to use the also new @AllowFlaky and @Repeat annotations.

Barista - Scroll that Recycler!

Published by rocboronat over 7 years ago

Added BaristaRecyclerViewActions.scrollTo()

Barista - Clear that SharedPreferences!

Published by rocboronat over 7 years ago

Added the ClearPreferencesRule to ease clearing all SharedPreferences before passing each test

Barista - Better sleeps and PermissionGranter

Published by rocboronat over 7 years ago

  • Add PermissionGranter to ease devs to work with the permissions dialog
  • Add BaristaSleepActions to ease devs to do a Thread.sleep() in a reliable way for Espresso
Barista - It's alive!

Published by rocboronat over 7 years ago

It's the time to write some reliable Espresso tests... FASTER! 🐎 πŸ’¨

Package Rankings
Top 8.17% on Proxy.golang.org
Top 22.26% on Repo1.maven.org
Badges
Extracted from project README
Hex.pm
Related Projects