Modify

Opened 6 years ago

Last modified 6 years ago

#3282 new enhancement

tracforms for test cases?

Reported by: anonymous Owned by: rharkins
Priority: normal Component: TracFormsPlugin
Severity: normal Keywords:
Cc: rjollos 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 (0)

Change History (3)

comment:1 Changed 6 years ago 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!

comment:2 Changed 6 years ago by rharkins

  • Owner changed from anonymous to rharkins
  • Status changed from assigned to new

comment:3 Changed 6 years ago by rjollos

  • Cc rjollos added; anonymous removed

Add Comment

Modify Ticket

Action
as new The owner will remain rharkins.
Author


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

 
Note: See TracTickets for help on using tickets.