A Place to Store My Cache
  • About
  • Archives

Take Screenshot on Failure When Running Espresso Tests

Date Thu 09 February 2017 Category dev Tags espresso / android / uiautomator / junit

When running Espresso tests I wanted a way to save screenshots of the app under test whenever a test failed. This feature isn't currently supported and all of the solutions online seemed overly complex due to supporting older test tool versions, like manually parsing the stack trace for the method …

View comments.

more ...

About Kevin Brotcke
This is the personal blog of Kevin Brotcke, software engineer and tech nerd.

  • Social

    • github
    • goodreads
    • linkedin
    • stackoverflow
  • Categories

    • android
    • dev
    • ebooks
    • linux
    • pdf
    • testing
    • windows
  • Tags

    • android
    • bat
    • chromebook
    • cli
    • cmd
    • cr-48
    • java
    • pdf
    • surface
    • windows

© 2017 Kevin Brotcke · Powered by pelican-bootstrap3, Pelican, Bootstrap

Back to top