stable

Clone or download

Read-only

Improve consistency in error message display

request #11370 Improve consistency in error message display for velocity semantic How to test: 1 - Given the following configuration: Tracker is a top backlog tracker (aka) release Hierarchy enable Release > Sprint Then - When Sprint has no velocity semantic, message "Following tracker should have velocity semantic:..." - When backlog trackers (User story) has no done or initial effort semantic, message "User Stories The following semantic is not defined: Done" - When all hierarchy and all backlog trackers have missing semantics, message "Artifact velocity will always be set to 0, because no backlog tracker have the following semantic: Done" 2 - Given the following configuration: Tracker is not top backlog planning (aka) sprint Hierarchy enable Sprint > Sub sprint - When subsprint has no velocity semantic, no message displayed - When backlog trackers (User story) has no done or initial effort semantic, message "User Stories The following semantic is not defined: Done" - When all backlog trackers have missing semantics, message "Artifact velocity will always be set to 0, because no backlog tracker have the following semantic: Done" Change-Id: If57f6ad11a39150e246ba373dd1fcd7e3a6dae47

Modified Files

Name
A plugins/velocity/include/Velocity/Semantic/BacklogRequiredTracker.php +74 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/BacklogRequiredTrackerCollection.php +155 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/BacklogRequiredTrackerCollectionFormatter.php +60 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/BacklogRetriever.php +50 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/ChildrenRequiredTracker.php +55 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/ChildrenRequiredTrackerCollection.php +110 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/MissingRequiredSemanticPresenter.php +39 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/MissingRequirementRetriever.php +115 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/RequiredTrackerPresenter.php +51 −0 Go to diff View file
D plugins/velocity/include/Velocity/Semantic/SemanticFormatter.php +0 −111 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocity.php +35 −150 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityAdminPresenter.php +43 −38 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/SemanticVelocityAdminPresenterBuilder.php +92 −0 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityFactory.php +19 −2 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityPresenter.php +52 −36 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/SemanticVelocityPresenterBuilder.php +81 −0 Go to diff View file
A plugins/velocity/include/Velocity/Semantic/VelocitySemanticChecker.php +35 −0 Go to diff View file
M plugins/velocity/include/velocityPlugin.class.php +2 −4 Go to diff View file
A plugins/velocity/phpunit/Velocity/Semantic/BacklogRequiredTrackerCollectionTest.php +273 −0 Go to diff View file
A plugins/velocity/phpunit/Velocity/Semantic/VelocitySemanticCheckerTest.php +148 −0 Go to diff View file
M plugins/velocity/phpunit/bootstrap.php +1 −0 Go to diff View file
A plugins/velocity/templates/velocity-admin-form.mustache +35 −0 Go to diff View file
M plugins/velocity/templates/velocity-admin.mustache +6 −45 Go to diff View file
R plugins/velocity/templates/velocity-all-tracker-missconfigured.mustache Go to diff View file
R plugins/velocity/templates/velocity-missing-done-semantics.mustache Go to diff View file
M plugins/velocity/templates/velocity-children-without-velocity-semantic.mustache +5 −5 Go to diff View file
M plugins/velocity/templates/velocity-intro.mustache +6 −4 Go to diff View file
M plugins/velocity/templates/velocity-status-type-error.mustache +6 −8 Go to diff View file