Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Old style Activity PlantUML - can't show question on Test Diamond on IF/ELSE and NEW can't share target acivities
@startuml
header Minimum Reproducible Example
title Can't point two queries to same activity
start
!$shared = SHARED
!$nonShared = NON-SHARED
:Minimum Reproducible Example;
if (Test Question) then (yes)
:$shared;
else (no)
if (Second Test Question) then (yes)
:$shared;
else
:$nonShared;
stop
@enduml
@startuml
header Minimum Reproducible Example
title "Can't put test query text in condition diamond"
!$shared = "SHARED"
!$nonShared = "NON-SHARED"
(*) -down-> "Minimum Reproducible Example:"
if "TEST QUESTION" then
-DOWN-> [yes] $shared
else
-RIGHT-> [no] if "SECOND TEST QUESTION" then
-DOWN-> [yes] $shared
else
-RIGHT-> [no] if "THIRD TEST QUERY" then
-DOWN-> [yes] $nonShared
-> (*)
@enduml
@systemsincode
Copy link
Author

systemsincode commented Nov 19, 2021

New style activity - Choice to Same - can not share target MRE-Can_t_point_two_queries_to_same_activity

@systemsincode
Copy link
Author

systemsincode commented Nov 19, 2021

Old style activity - Choice to Same - can not put Test text on diamond MRE-Can_t_put_test_query_text_in_condition_diamond

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment