| 12 | |
| 13 | === Example === |
| 14 | |
| 15 | This is a sample content of the trac.ini file to associate a workflow to the Test Case object. |
| 16 | |
| 17 | The workflow is shown in the following figure: |
| 18 | |
| 19 | [[BR]] |
| 20 | [[BR]] |
| 21 | [[Image(sample_workflow.png)]] |
| 22 | [[BR]] |
| 23 | '''Sample workflow for Test Cases''' |
| 24 | [[BR]] |
| 25 | [[BR]] |
| 26 | |
| 27 | {{{ |
| 28 | [testcase-resource_workflow] |
| 29 | sleep = new -> asleep |
| 30 | sleep.permissions = TEST_MODIFY |
| 31 | |
| 32 | sing = new -> singing |
| 33 | sing.permissions = TEST_MODIFY |
| 34 | sing.operations = sample_operation |
| 35 | |
| 36 | calmdown = singing -> calm |
| 37 | calmdown.permissions = TEST_MODIFY |
| 38 | |
| 39 | kill = asleep,calm -> dead |
| 40 | kill.permissions = TICKET_MODIFY |
| 41 | }}} |