Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I generate test reports from Espresso

I have a test project running successfully on Jenkins using Ant. I see the test results in the console output but how do I generate a report?

like image 700
Kenny C Avatar asked Mar 28 '14 21:03

Kenny C


People also ask

What is Espresso testing tool?

Espresso created by Google is a native framework for Android automated testing. The tool is a part of the Android SDK and is easy to use for native mobile development. Thanks to Espresso, you can create tests that are close to the Android app's logic.

How do you test Espresso intent?

Validate intentsUsing the intended() method, which is similar to Mockito. verify() , you can assert that a given intent has been seen. However, Espresso-Intents doesn't stub out responses to intents unless you explicitly configure it to do so. // User action that results in an external "phone" activity being launched.

Does Espresso support test recording?

The Espresso Test Recorder tool lets you create UI tests for your app without writing any test code. By recording a test scenario, you can record your interactions with a device and add assertions to verify UI elements in particular snapshots of your app.


1 Answers

I use Jenkins and Espresso also. I use Spoon by Jake Wharton to generate my reports. Take a look! They are clean and very easy to use.

like image 90
Chad Bingham Avatar answered Oct 18 '22 17:10

Chad Bingham