Skip to content

Commit

Permalink
Bump version 1.5.0 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma authored Jun 13, 2017
1 parent 6e55c6d commit 9e85727
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,13 @@ The rule assumes some sane defaults:

In order to speed up testing, Barista keeps in mind some considerations.
- **Scrolls when needed**: Interacting with Espresso in a `ScrollView` requires you to scroll to each view, which sometimes doesn't work the first time. Also trying to scroll outside a `ScrollView` produces an `Exception`, forcing you to change the test depending on the layout. To keep tests simpler, Barista scrolls automatically before interacting with any `View`, and only does it if needed.
- **Just interacts with displayed Views**: Interacting with `View`s inside a `ViewPager` throws `AmbiguousViewMatcherException`, cos the views you interact with will be potentially repeated on different pages. Barista only interacts with displayed widgets, so you can focus on the behavior instead of wasting time on details.
- **Scrolls on all views**: Barista scrolls on all scrollable views, including `NestedScrollView`. Espresso only handles `ScrollView` and `HorizontalScrollView`, so people need to open questions on [StackOverflow like this](https://stackoverflow.com/questions/35272953/espresso-scrolling-not-working-when-nestedscrollview-or-recyclerview-is-in-coor). Or... just use **Barista**.
- **Just interacts with displayed Views**: Interacting with `View`s inside a `ViewPager` throws `AmbiguousViewMatcherException`, cos the views you interact with will be potentially repeated on different pages. Barista only interacts with displayed widgets, so you can focus on the behavior instead of wasting time on details.

# Download

```gradle
androidTestCompile('com.schibsted.spain:barista:1.4.0') {
androidTestCompile('com.schibsted.spain:barista:1.5.0') {
exclude group: 'com.android.support'
}
```
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ publish {
userOrg = 'schibstedspain'
groupId = 'com.schibsted.spain'
artifactId = 'barista'
publishVersion = '1.4.0'
publishVersion = '1.5.0'
desc = 'The guy who serves a great Espresso'
website = 'https://github.com/SchibstedSpain/Barista'
}

0 comments on commit 9e85727

Please sign in to comment.