| 269 | You can specify a set of properties to control the contants of the new ticket's summary. In the {{{[testmanager]}}} section of the trac.ini file: |
| 270 | |
| 271 | ticket_summary_option: How to generate the ticket summary. Available options are: |
| 272 | |
| 273 | full_path: |
| 274 | the default behavior. The summary will contain a complete path in the catalogs tree, |
| 275 | with the names of the catalogs from the root to the failing test case. |
| 276 | |
| 277 | last_n_catalogs: |
| 278 | only the last specified number of catalogs in the path will |
| 279 | be used to form the summary. |
| 280 | |
| 281 | The number of catalogs to use must be specified using the |
| 282 | 'ticket_summary_num_catalogs' property. |
| 283 | |
| 284 | empty: |
| 285 | the generated summary will be empty. |
| 286 | |
| 287 | fixed_text: |
| 288 | the specified text will be used as the ticket summary. |
| 289 | The text to be used must be specified using the |
| 290 | 'ticket_summary_text' property. |
| 291 | |
| 292 | ticket_summary_separator: The string to be used to separate catalog names |
| 293 | in the generated summary. |
| 294 | |
| 295 | Two sample configurations follow: |
| 296 | |
| 297 | {{{ |
| 298 | [testmanager] |
| 299 | ticket_summary_option = fixed_text |
| 300 | ticket_summary_text = Failed test case: |
| 301 | }}} |
| 302 | |
| 303 | {{{ |
| 304 | [testmanager] |
| 305 | ticket_summary_option = last_n_catalogs |
| 306 | ticket_summary_num_catalogs = 2 |
| 307 | ticket_summary_separator = -> |
| 308 | }}} |
| 309 | |