Ticket #3282 (new enhancement)

Opened 6 months ago

Last modified 6 months ago

tracforms for test cases?

Reported by: anonymous Assigned to: rharkins
Priority: normal Component: TracFormsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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

Attachments

Change History

06/30/08 12:05:58 changed by anonymous

  • owner changed from rharkins to anonymous.
  • status changed from new to assigned.

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?:

{{{
#!TracForm

|| || '''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:

[Include(TestSuites/Windowing?)]

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.

Thanks!

06/30/08 12:10:43 changed by rharkins

  • owner changed from anonymous to rharkins.
  • status changed from assigned to new.

Add/Change #3282 (tracforms for test cases?)




Change Properties
Action