Changes between Version 104 and Version 105 of TestCaseManagementPlugin
- Timestamp:
- Jul 8, 2009, 7:20:02 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestCaseManagementPlugin
v104 v105 56 56 1. Add the following new section to the trac.ini file: 57 57 {{{ 58 #!ini 58 59 [testManagementExtension] 59 SubversionPathToTestCases =/relativePathToTestCasesInYour/Subversion/Repository60 SubversionPathToTestCases = /relativePathToTestCasesInYour/Subversion/Repository 60 61 }}} 61 62 This is important because Trac can be set up against subdirectories so you often don't link trac to your root subversion folder, so only specify the full path from the root node if that's how trac was set up. … … 63 64 1. I also add a custom ticket type in the trac.ini file for reporting purposes (although this is not required yet...just really useful) 64 65 {{{ 66 #!ini 65 67 [ticket-custom] 66 testcase_result =select67 testcase_result.label = Test Case Result68 testcase_result.options =pass|fail|incomplete68 testcase_result = select 69 testcase_result.label = Test Case Result 70 testcase_result.options = pass|fail|incomplete 69 71 testcase_result.value = 70 72 }}} 71 73 1. Enable the plugin either through the trac admin plugin or by modifying the trac.ini file: 72 74 {{{ 75 #!ini 73 76 [components] 74 testManagementPlugin.* =enabled77 testManagementPlugin.* = enabled 75 78 }}} 76 79 1. Restrict ticket owners to only known users of the system. You do this by looking for the line restrict_owner in the trac.ini file. 77 80 This is actually necessary because of an oversight on my part. I incorrectly assumed that most people would have turned this on. 78 81 {{{ 82 #!ini 79 83 restrict_owner = true 80 84 }}} … … 101 105 102 106 {{{ 103 104 107 easy_install.exe http://trac-hacks.org/svn/testcasemanagementplugin/branches/testManagmentPluginGenshi 105 106 108 }}} 107 109 … … 114 116 115 117 {{{ 116 117 118 easy_install.exe http://trac-hacks.org/svn/testcasemanagementplugin/branches/testManagementPlugin0.4.0 118 119 119 }}} 120 120 … … 138 138 139 139 {{{ 140 #!xml 140 141 <testcase> 141 142 142 <id> 143 143 map01_zoom 144 144 </id> 145 146 145 <component> 147 146 map 148 147 </component> 149 150 148 <summary> 151 149 This test verifies correct functionaliy of zoom on the map. 152 150 </summary> 153 154 151 <description> 155 152 Steps: … … 159 156 2. etc. Note you can use TRAC formatting in the testcase if you want. 160 157 </description> 161 162 158 <expectedresult> 163 159 The map should correctly zoom to the area specified by the user..etc. 164 160 </expectedresult> 165 166 161 </testcase> 167 168 162 }}} 169 163 … … 172 166 173 167 {{{ 168 #!xml 174 169 <templates> 175 170 <template name="smoke">