Rafa Vázquez

Results 50 comments of Rafa Vázquez

How 'bout ```java @Rule public BaristaRule baristaRule = BaristaRule.for(MyActivity.class) .withRetries(5) .clearingSharedPreferences() .clearingDatabases() .clearingFiles() .withAllPermissions() .build(); ``` But I'm still missing a clean way to setup the internal rules like ClearFiles...

BTW @rocboronat, if what you need is to disable retries for some new test while developing, you can overwrite the default retries by annotating the specific method: ```java @Test @AllowFlaky(attempts...

Toc toc @rocboronat. Does my last comment help with your pain? Or should we revisit the solutions?

@rocboronat Cool! Does my comment from 14 Nov 2017 help with your new pain? :P In a serious note, I would encourage you to use a custom rule instead of...

That was my opinion, and if you don't like it... I have another! Maybe adding an optional boolean parameter to the Rule constructor to enable/disable the flaky repetitions? This is...

Hi @pilgr! I think it's a great idea. We haven't done it yet because we didn't have the need, but I think it would be a great addition. PRs are...

I'd have to try out the compose testing libraries before giving my opinion on this 🙈 I **hope** Compose doesn't need Barista, especially the weird hidden magic stuff. But who...

I think I didn't understand the actual problem. In the example from your PR you have 2 buttons with same id and different text. ```xml ``` Why not just do...

I think it could be covered by https://github.com/SchibstedSpain/Barista/issues/224

Thanks @EsteveAguilera for the list! 😍 I agree on most of it. Let me suggest some things: - **viewId**: I suggest `viewId` for generic views, like clickOn(viewId), and `[type]Id` for...