This new feature consists of giving the user easy access to common failures causes for specific failed test cases.
The idea is allow the user access that information from the documents without even leaving the Test Harness application.
A folder is maintained in the matter-test-scritps repository with the common failures documents.
Also, this repository is already mapped inside backend's file structure.
The following images illustrates how the feature could be done in the current state of the Test Harness:
Test Results with failed test TC-IDM-10.2:
After clicking the info badge of TC-IDM-10.2:
Use Cases
[Use Case 1] Verify the common failures information for the failed TC-RR-1.1:
Execute the test case TC-RR-1.1
The test results in failure
Verify the common failure information about the TC-RR-1.1 test
Test Cases
[Test Case 1] Verify that the common failure button does not appear in case the TC-RR-1.1 passes with no error.
[Test Case 2] Enforcing some error in the TC-RR-1.1 test, verify that the the common failures button is available, and the information is accessible upon click, showing the same information of the matter-test-scripts document.
Additional Information
There is a discussion thread about another interesting approach, where one could have hints from the test scripts themselves.
Maybe it's worth to discuss this option further.
Another possible suggestion:
At the end of the test run execution, the TH shows a prompt message stating the failed tests and the links to the respective common failure page for each test case.
Feature description
This new feature consists of giving the user easy access to common failures causes for specific failed test cases. The idea is allow the user access that information from the documents without even leaving the Test Harness application.
A folder is maintained in the matter-test-scritps repository with the common failures documents. Also, this repository is already mapped inside backend's file structure.
The following images illustrates how the feature could be done in the current state of the Test Harness:
Test Results with failed test TC-IDM-10.2:
After clicking the info badge of TC-IDM-10.2:
Use Cases
[Use Case 1] Verify the common failures information for the failed
TC-RR-1.1
:TC-RR-1.1
TC-RR-1.1
testTest Cases
[Test Case 1] Verify that the common failure button does not appear in case the
TC-RR-1.1
passes with no error.[Test Case 2] Enforcing some error in the
TC-RR-1.1
test, verify that the the common failures button is available, and the information is accessible upon click, showing the same information of the matter-test-scripts document.Additional Information
There is a discussion thread about another interesting approach, where one could have hints from the test scripts themselves. Maybe it's worth to discuss this option further.