stable

Clone or download

Read-only

Add integration tests for automagic user story removal

part of story #18408 plan Features in Program Increment This patch add a REST test to verify the following behavior: - given a program and a team project - and given a user story linked to a feature - when a feature is planned, then the us is planned in team project - when feature is unplanned, then the us is removed from team project release backlog - given user story is planned in a sprint, when the feature is unplanned, the the us is not removed from sprint planning Note: Mirrored release can not be manipulate by artifact links or standard update. It's only allowed by `system` manipulation. Concretely: - I tried to have all my init done be REST routes, the link can never be added - I tried to rely on "standard" createNewChangeset mechanism, the link can never be added - I had to introduce the `ProgramDataBuilder` to be able to use this particular link Change-Id: Ifc2a3607df55ecc311deb111871d902c17df7dc9

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsRunner.php +1 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/FeatureInProgramIncrementPlanner.php +1 −0 Go to diff View file
M plugins/program_management/include/Program/Backlog/AsynchronousCreation/ArtifactCreatedHandler.php +17 −1 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +2 −9 Go to diff View file
M plugins/program_management/tests/rest/_fixtures/program_program_management/project.xml +85 −439 Go to diff View file
M plugins/program_management/tests/rest/_fixtures/team_program_management/project.xml +207 −189 Go to diff View file
A plugins/program_management/tests/rest/init_test_data.php +30 −0 Go to diff View file
A plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +204 −0 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +138 −7 Go to diff View file
M plugins/program_management/tests/unit/Program/Backlog/AsynchronousCreation/ArtifactCreatedHandlerTest.php +3 −1 Go to diff View file