Distributes instrumentation test execution and displaying the results in a meaningful way.
With the high-level output you can immediately see whether or not a test failure is specific to a single device or all devices. This view is designed to be displayed on a dedicated monitor or TV.
Spoon will run on all targets which are visible to adb devices. Plug in multiple different phones and tablets, start different configurations of emulators, or use some combination of both!
The device view outlines the results of each test one a single device. This is useful for tracking down device-specific failures of individual tests.
The test view shows the results of a single test across all of the devices it was executed on.
In addition to simply running instrumentation tests, Spoon has the ability to snap screenshots at key points during your tests which are then included in the output. This allows for visual inspection of test executions across different devices.
Taking screenshots requires that you include the spoon-client JAR in your instrumentation app. In your tests call the screenshot method with a human-readable tag.
The tag specified will be used to identify and compare screenshots taken across multiple test runs.
You can also view each test's screenshots as an animated GIF to gauge the actual sequence of interaction.
If you are using Maven for compilation, a plugin is provided for easy execution. Declare the plugin in the pom.xml for the instrumentation test module.