Changes between Version 108 and Version 109 of TestManagerForTracPlugin


Ignore:
Timestamp:
Jan 4, 2014, 10:56:07 PM (10 years ago)
Author:
Roberto Longobardi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TestManagerForTracPlugin

    v108 v109  
    267267The association is particularly useful when browsing the [#TestManagementandExecutionStatistics Test Management and Execution Statistics].
    268268
     269You 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
     295Two sample configurations follow:
     296
     297{{{
     298[testmanager]
     299ticket_summary_option = fixed_text
     300ticket_summary_text = Failed test case:
     301}}}
     302
     303{{{
     304[testmanager]
     305ticket_summary_option = last_n_catalogs
     306ticket_summary_num_catalogs = 2
     307ticket_summary_separator = ->
     308}}}
     309
    269310This plugin also supports the TracTicketTemplatePlugin to fill a ticket template with this information. In this case, you can use the following parameters in the target ticket template to receive the information:
    270311