-
I am at war with espresso and espresso is winning 💔🤖
-
espresso y u no capture my intent?
-
As is too often the way in testing I fixed it by writing code I didn't want to and now I hate myself.
-
Specifically: I gave up on being able to capture an internal intent. It always triggers it and launches it—was messing up mock verify calls.
-
So now I expect a bunch of calls to mocks that I didn't want to, that should more appropriately (and are) in the test for that activity.
-
Testing on android is a PITA still. IMO lesson we can take from that is if you consider testability of framework late it will suck forever.