Opened 9 years ago

Last modified 8 years ago

#3282 new enhancement

tracforms for test cases?

Reported by: anonymous Owned by: Rich Harkins
Priority: normal Component: TracFormsPlugin
Severity: normal Keywords:
Cc: Ryan J Ollos Trac Release: 0.11


could this be used to plan tests and execute test cases multiple times, like e.g. TestCaseManagementPlugin supports it?

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by anonymous

Owner: changed from Rich Harkins to anonymous
Status: newassigned

I'm certainly know of no reason why it couldn't, given that TracForms included in tickets will bind to the ticket for context as opposed to where the form's body is located. However, that particular use case isn't something that TracForm is specifically aiming at. Let's think out a simplified example, supposing a two-test suite.

In the wiki page TestCases/TestClose:

== Description ==

Test the close button works.

== Steps ==

 1. Open the application
 1. Click the close button (X) in the upper-right.

== Success Criteria ==

 1. The window disappears and the associated entry disappears from the task bar.

In the wiki page TestCases/TestMinimize:

== Description ==

Test the minimize button works.

== Steps ==

 1. Open the application
 1. Click the minimize button (_) in the upper-right

== Success Criteria ==

 1. The window disappears but the application label stays in the task bar.

Now, let's bind these into a test suite on the wiki page TestSuites/Windowing:


|| || '''Test Case''' || '''Notes''' ||
|| [tf:close] || [wiki:TestCases/TestClose] || [tf.input:notes/close]
|| [tf:minimize] || [wiki:TestCases/TestMinimize] || [tf.input:notes/minimize]


Now, all that is needed to stick this in a task is to simply include it (if you have the IncludeMacro or some other equivilent). Create a new issue and in the description add:


At this point, the task itself should now have the checklist built in. Unfortunately, there is no way to keep the workflow from proceeding until the checkboxes are complete, but that part is definitely planned.

I don't know if the above covers what you were looking for. I've played with the plugin you mentioned (TestCaseManagementPlugin), but haven't really done anything with it. I suspect that my own processes will likely use TracForm, partially because I'm working on it and want to advance that direction, but also because of the flexibility that general purpose forms could provide.

If the description above meets your needs, please resolve this ticket.


comment:2 Changed 9 years ago by Rich Harkins

Owner: changed from anonymous to Rich Harkins
Status: assignednew

comment:3 Changed 8 years ago by Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed

Modify Ticket

as new The owner will remain Rich Harkins.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.