This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HTML report specification. (#19)
- Loading branch information
1 parent
d4e81f3
commit 9e7aad8
Showing
1 changed file
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# Terms | ||
|
||
* Test is a single functionality check. | ||
* Properties: | ||
* package name; | ||
* class name; | ||
* name; | ||
* duration; | ||
* log; | ||
* stacktrace (optional); | ||
* completion status (passed | failed | ignored); | ||
* device name; | ||
* list of properties — property is a key-value pair; | ||
* list of files; | ||
* list of screenshots. | ||
* Test suite is a combination of all tests available. | ||
* Properties: | ||
* list of tests; | ||
* success tests count; | ||
* failure tests count; | ||
* ignored tests count; | ||
* list of devices: | ||
* device id; | ||
* instrumentation output; | ||
* logcat; | ||
* duration. | ||
* Test suite can be run different ways. | ||
* Single device — just a single run of all tests in a test suite. | ||
* Multiple devices. | ||
* Sharding — all tests in a test suite are being split evenly between all devices. | ||
* Duplicating — all tests in a test suite are being run the same way on each device available. | ||
|
||
# Report Pages | ||
|
||
## Device List | ||
|
||
This page should be skipped if sharding was used to run the test suite. | ||
|
||
Contains a list of items with following properties: | ||
|
||
* device name; | ||
* test run duration; | ||
* instrumentation output; | ||
* logcat output; | ||
* test suite success tests count; | ||
* test suite failure tests count; | ||
* test suite ignored tests count. | ||
|
||
Available actions: | ||
|
||
* click on the list item opens the Test Suite page. | ||
|
||
## Test Suite | ||
|
||
Contains following blocks from top to bottom. | ||
|
||
* Summary with following properties: | ||
* success tests count; | ||
* failure tests count; | ||
* ignored tests count; | ||
* duration. | ||
* Search input. | ||
* List of tests with following properties: | ||
* package name; | ||
* class name; | ||
* name; | ||
* device name. | ||
|
||
Available actions: | ||
|
||
* click on the list item opens the Test page; | ||
* changing search input contents changes list of tests content. | ||
|
||
## Test | ||
|
||
Contains following blocks from top to bottom. | ||
|
||
* Summary: | ||
* package name; | ||
* class name; | ||
* name; | ||
* device name; | ||
* duration. | ||
* Properties: | ||
* list of key-value pairs. | ||
* Files: | ||
* list of file links. | ||
* Screenshots: | ||
* list of screenshot images. | ||
* Log. | ||
|
||
Available actions: | ||
|
||
* click on a file starts its downloading; | ||
* click on a screenshot opens in a new tab full-size. |