Seishin's Life
  • Home
  • About Me
Sign in Subscribe

testing

Troubles when trying to mock the Bundle class with Mockito

Yesterday I got this issue while trying to test some code that contained a Bundle object within. When I tried to mock the Bundle class... Nothing was happening and the test was constantly failing with: java.lang.RuntimeException: Method putString in android.os.BaseBundle not mocked. Hmm... The only solution
Atanas Dimitrov Aug 10, 2018
Espresso UI testing and... open drawer image button click

Espresso UI testing and... open drawer image button click

A few days ago I experienced an interesting problem... I had to help a colleague of mine to create some Espresso UI tests and she got a really strange problem... The default Espresso actions' recording tool failed to record the action of performing a click on the open Drawer's ImageButton
Atanas Dimitrov Jan 5, 2018

Subscribe to Seishin's Life

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Seishin's Life © 2023. Powered by Ghost