84 | | I'll add an example workflow shortly... |
| 84 | ''''''Running a weekly smoke test.'''''' |
| 85 | |
| 86 | ''''Step 1(Create your test cases)'''' |
| 87 | Take a look at the example test case I attached at the bottom of this page. It's a very simple XML format for specifying what a test case should be. |
| 88 | |
| 89 | A test case has an Id (which should be the file name without any extensions), a component (matching a real component in your TRAC project), a summary, a description, and a field for describing the expected results of the test. |
| 90 | |
| 91 | |
| 92 | ''''Step 2(Define any required grouping of testcases in the testtemplates.xml file):'''' |
| 93 | |
| 94 | An example grouping with be specifying that tests: test1, test2, and test3 all belong to the smoketest. |
| 95 | |
| 96 | Make sure the tests and template file are checked in. |
| 97 | |
| 98 | ''''Step 3 (Creating a test run)'''' |
| 99 | Click on the TestManagement tab on the main trac menu. |
| 100 | |
| 101 | Click on the Test Run link |
| 102 | |
| 103 | Select users to assign testcases to (these have to be known users to the trac system). |
| 104 | |
| 105 | Select the appropriate version, and/or milestone/sprint for this testrun. |
| 106 | |
| 107 | Select the testcases, and/or the appropriate test template. |
| 108 | |
| 109 | Click the generate test run button. |
| 110 | |
| 111 | This will re-direct you to the custom ticket reporting page with a pre-built query that should show you all the test cases that you just created grouped by user. It will also pick up previously created testcases if they also exactly match the query criteria. |
| 112 | |