Each activity diagram illustrates a number of operation or testing scenarios.
Could Plantuml be used for splitting activity diagrams into scenarios? The scenarios could be exported from an activity into a plain text file where each scenario is identified with the target activity file name + # (number by order).
For example, here is a source Activity:
http://www.plantuml.com/plantuml/uml/LOwn3e9G34Nt-nLDN63K4Km47Htu1WD5cZpx32s3VoybckXoStFUkIzjp6-pBu-4hQ1wpjnd7SGbgnsXsPbckK-EDYNgnWex2eVstt80wq0X0jMGgQq16GjR-fxDJgLFhCMBhTnmIsBKNVzmhCxhYfDneRb4_2ZZBmZbKdyU8j6iiTxz1W00
This can be split into the following scenarios:
Scenario my-activity-1:
1. start
2. Preconditions:
All Of:
1. prec 1
2. prec 2
3. do A
4. if SUCCESS? is yes, then
5. if A is OK? is yes, then
6. do B
7. end
Scenario my-activity-2:
1. start
2. Preconditions:
All Of:
1. prec 1
2. prec 2
3. do A
4. if SUCCESS? is yes, then
5. if A is OK? is no, then
6. end
Scenario my-activity-3:
1. start
2. Preconditions:
All Of:
1. prec 1
2. prec 2
3. do A
4. if SUCCESS? is no, then
5. do C
6. end