catehstn’s avatarcatehstn’s Twitter Archive—№ 36,170

  1. I am at war with espresso and espresso is winning 💔🤖
    1. …in reply to @catehstn
      espresso y u no capture my intent?
      1. …in reply to @catehstn
        As is too often the way in testing I fixed it by writing code I didn't want to and now I hate myself.
        1. …in reply to @catehstn
          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.
          1. …in reply to @catehstn
            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.
            1. …in reply to @catehstn
              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.