stable
Clone or download
Part of story #11389: snapshot test executions Go to a test definition and change many times the description. For example "Version A", "Version B", "Version C". Take the changeset_id of the "Version B" (Ex: 237). This changeset id is displayed as tooltip on the artifact when you hover the followup link icon:Â "Link to this followup - #237". Create a campaign and add the test. When you try to execute the test, you should see the latest version of the definition (Version C). Insert in the table plugin_testmanagement_execution an entry for the given execution id (ex:Â 4) and a previous changeset (ex:Â 237). Refresh the campaign and go to the test. You should see a previous version of the definition (Version B). Update the test definition (Version D). You still see "Version B" in the TTM. Change-Id: I2e7f6bdd337e78b6424115e931f5503fab3a1193
Modified Files
Name | ||||
---|---|---|---|---|
M | db/install.sql | +5 | −0 | Go to diff View file |
A | db/mysql/updates/2018/201804131646_add_execution_table.php | +46 | −0 | Go to diff View file |
M | db/uninstall.sql | +2 | −0 | Go to diff View file |
A | include/TestManagement/Campaign/Execution/ExecutionDao.php | +42 | −0 | Go to diff View file |
A | include/TestManagement/Campaign/Execution/PaginatedExecutions.php | +76 | −0 | Go to diff View file |
M | include/TestManagement/REST/v1/CampaignsResource.class.php | +3 | −1 | Go to diff View file |
M | include/TestManagement/REST/v1/DefinitionRepresentation.php | +4 | −2 | Go to diff View file |
M | include/TestManagement/REST/v1/DefinitionRepresentationBuilder.php | +19 | −10 | Go to diff View file |
M | include/TestManagement/REST/v1/ExecutionRepresentationBuilder.php | +80 | −18 | Go to diff View file |
M | include/TestManagement/REST/v1/ExecutionsResource.class.php | +4 | −2 | Go to diff View file |
M | include/TestManagement/REST/v1/MinimalDefinitionRepresentation.php | +39 | −18 | Go to diff View file |
M | include/autoload.php | +4 | −2 | Go to diff View file |