I have a simple test class:
public class SimpleTest extends AndroidTestCase {
public void testSomething() throws Throwable {
Assert.assertEquals(1 + 1, 2);
}
}
I know how to run the test, but where can I view the output in Android Studio?
This data is stored within JENKINS_HOME , and the current storage format requires huge overheads when retrieving statistics and, especially, trends. In order to display trends, each report has to be loaded and then processed in-memory.
We use the assertEquals() method to check the actual result with the expected output. We create the TestRunner. java class to execute the test cases. It contains the main() method in which we run the TestJunitTestCaseExample.
By default, gradle test displays only the test summary. P.S Gradle test generates the detailed tests' result at the build/reports/tests/test/index. html page.
Run the test by right clicking on it.
The run tab should pop up, you can open it by hand on the very bottom left corner.
It will list your test results.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With