stable
Clone or download
Read-only
Part of story #11492: have several steps in my tests Have a test with many steps. In TTM, in a new campaign (all steps are not run) - Switch one step to 'passed'. Refresh the page, test is still notrun. - Switch all steps to 'passed'. Refresh the page, test is passed. - Switch one step to 'notrun'. Refresh the page, test is notrun. - Switch one step to 'blocked'. Refresh the page, test is blocked. - Switch one step to 'failed'. Refresh the page, test is failed. This commit only deals with backend. TTMÂ changes will be updated later so that you won't need to refresh the page anymore. Change-Id: I6b9e170cbc578006ad4a0102fd04c45490c9e8ff
Modified Files
Name | ||||
---|---|---|---|---|
M | include/TestManagement/REST/v1/ExecutionsResource.class.php | +5 | −1 | Go to diff View file |
M | include/TestManagement/REST/v1/StepsResultsChangesBuilder.php | +57 | −11 | Go to diff View file |
A | include/TestManagement/REST/v1/TestStatusAccordingToStepsStatusChangesBuilder.php | +117 | −0 | Go to diff View file |
M | include/autoload.php | +3 | −2 | Go to diff View file |
M | phpunit/TestManagement/REST/v1/StepsResultsChangesBuilderTest.php | +41 | −1 | Go to diff View file |
A | phpunit/TestManagement/REST/v1/TestStatusAccordingToStepsStatusChangesBuilderTest.php | +168 | −0 | Go to diff View file |