Logging Android test data to New Relic

Andres Sandoval
Backstage
Published in
4 min readJan 26, 2021

--

The tutorial shows how to log data to New Relic from an Android UI test using Espresso testing. To accomplish logging data from test runs, we use different tools: Gradle, Bitrise, and New Relic.

Tools:

  • Android: We run a test class that runs the Espresso test, we log if the stream tests passed or failed. The test runs on Android Firebase Test Lab devices(Bitrise build step).
  • New Relic: log data management tool. This is for the new (as of 7/2019) “New Relic One” platform’s Logs service.

--

--