stable

Clone or download

Read-only

Test execution update must be displayed as campaign update in heartbeat

part of request #16148 Improve hearbeat How to test: In TTM have a campaign with several test, make a valid, and pass/fail all your tests. Go in Dashboard > Heartbeat widget Without this patch: You'll have an entry by test played With this patch You'll have only one entry: the campaign associate to the tests. Edge cases: - if test_exec is not linked to a campain and is updated, test exec will be displayed in heartbeat - if test_exec is linked to more than a campaign, test exec will be displayed in heartbeat Change-Id: I79905a5211d4fe83c4c9bf1f0594be8a340681de

Modified Files

Name
M plugins/git/include/gitPlugin.php +1 −1 Go to diff View file
M plugins/testmanagement/include/TestManagement/Campaign/Execution/ExecutionDao.php +42 −0 Go to diff View file
A plugins/testmanagement/include/TestManagement/Heartbeat/HeartbeatArtifactOverrider.php +48 −0 Go to diff View file
A plugins/testmanagement/include/TestManagement/Heartbeat/LatestHeartbeatsCollector.php +157 −0 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +18 −0 Go to diff View file
M plugins/testmanagement/site-content/fr_FR/LC_MESSAGES/tuleap-testmanagement.po +8 −0 Go to diff View file
A plugins/testmanagement/tests/unit/TestManagement/Heartbeat/HeartbeatArtifactOverriderTest.php +107 −0 Go to diff View file
A plugins/testmanagement/tests/unit/TestManagement/Heartbeat/LatestHeartbeatsCollectorTest.php +141 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Artifact.php +4 −9 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Heartbeat/OverrideArtifactsInFavourOfAnOther.php +91 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/LatestHeartbeatsCollector.php +33 −17 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/LinksRetriever.php +128 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +1 −39 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +3 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/LatestHeartbeatsCollectorTest.php +6 −1 Go to diff View file
M src/common/Project/HeartbeatsEntryCollection.php +1 −1 Go to diff View file