Opened 11 years ago
Last modified 11 years ago
#11477 new enhancement
Custom Fields as Wiki Pages
Reported by: | anonymous | Owned by: | Roberto Longobardi |
---|---|---|---|
Priority: | normal | Component: | TestManagerForTracPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
Hi,
The current incarnation of the custom fields for a testcase (or testcase in plan) is restricted to text and they are kept in a separate table in the database. (Although I imagine the plan is to extend the capabilities and allow other types)
One possibility would be to have custom fields as Wiki Pages themselves allowing for full wiki formatting of the field. Use case:
- Test case has the standard "title" and "description".
- Custom fields "Execution Steps" and "Expected Results"
The latter are calling for full blown editing and quite probably with Wiki Formatting. The current "text field" presented in the web browser is rather limited as it won't display even line breaks.
The already built-in mechanism for versioning using the wiki pages would be re-used.
To avoid compatibility problems with existing deployments a possible path would be to still allow the os.type = text and also allow os.type = wiki.
Best regards
Hi there, I like this idea!
Anyway, since wiki pages are managed by Trac itself, maybe a simpler solution would be to add two new custom field types:
This simple solution would allow for the use case scenario you describe, also featuring all of the wiki characteristics, like versioning, already available in Trac.
Most importantly, it would be implemented very easily (and thus, soon enough :-) ).
What do you think about this solution?
Ciao, Roberto