Version 16 (modified by 14 years ago) (diff) | ,
---|
Contents
Test Manager plugin for Trac
Description
A Trac plugin to create Test Cases, organize them in catalogs and track their execution status and outcome.
Differently from other test management plugins for Trac that use Tickets as test case holders, this one uses Wiki pages and an additional proprietary data model to store Test Cases. This allows you to not pollute your ticket lists with something that is not a ticket, and at the same time is powered by the Trac search engine and formatting syntax for Wiki pages.
A set of plugins intercept requests for Wiki pages that are test cases and decorate the page with title, breadcrumbs, tree view, type-ahead search inside the catalogs, test case status semaphore and icons and buttons that allow you to create new test cases, sub-catalogs, copy and paste test cases around different catalogs and change a test case status.
Here follows an overview of the plugin functionalities. For a full tutorial, refer to the powerpoint presentations attached below (the ones with shorter names work).
Test Catalogs
Test catalogs contain sub-catalogs or Test Cases. A Javascript tree view displays a catalog node and its sub-tree, including the test cases and their status.
Notice at the top of the page breadcrumbs to easily navigate up in the catalogs tree.
You can add sub-catalogs or Test Cases simply by entering a name (blanks and case is supported) and click the appropriate button. A new wiki page is generated, with a naming convention allowing the plugin code to position it correctly in the catalogs tree, and opened for editing. Be careful that the first line will always be taken as the title of the catalog (the same stands for test cases, read below).
Just save the new page ("Submit Changes") and you'll have your new catalog in place.
Test Cases
Test Cases are the smallest units of test execution.
They are implemented again as wiki pages, with a naming convention that allows the plugin code to recognize them and treat them appropriately.
You can track the execution status a Test Case by simply clicking on the corresponding light in the semaphore at the bottom of the page.
You don't need to save anything, the change is immediately recorded in the database by means of an Ajax call (you may even envision calling this RESTful API from external applications).
Again, notice the breadcrumbs at the top, useful to go back to the enclosing catalog or any catalog up the hierarchy.
Searching anf filtering Test Cases in the tree view
It is also possible to move a Test Case into a different catalog, with an experience similar to cut&paste.
You first open a test case and click on the "Move the Test Case into another catalog" button. This is similar to a "cut" operation.
You then navigate and open the destination catalog and click on "Move the copied Test Case here" button (which only appears if a Test Case has been cut first).
It is also possible to cancel the operation at any time by clicking the "Cancel" button in a GMail-type of yellow message at the top of the page.
Searching anf filtering Test Cases in the tree view
A type-ahead, browser-side filtering feature allows for easily locating Test Cases matching a particular naming convention in the title, and/or a particular execution status.
Multiple words (or parts of) separated by blanks are supported, in AND condition.
You can also add a test case status to filter by this criterion. The supported statuses are (even substrings of):
- untested
- successful
- failed
Tutorial (as powerpoint presentation):
- attachment:"UserGuide_part_1.ppt"
- attachment:"UserGuide_part_2.ppt"
- attachment:"UserGuide_part_3.ppt"
Project site: http://sourceforge.net/projects/testman4trac/
Bugs/Feature Requests
Existing bugs and feature requests for TestManagerForTracPlugin are here.
If you have any issues, create a new ticket.
Download
Download the egg files, ready to be installed, from the project site here.
Source
You can download the source code from here.
Example
The plugin can be installed as usual, from the Trac administration panel, and requires a database upgrade.
At the moment it has been tested only on Trac 0.11 with Python 2.5.
Follow the tutorial presentation that you can download from the project site to start.
Recent Changes
Author/Contributors
Attachments (51)
- screen4.JPG (83.4 KB) - added by 14 years ago.
-
UserGuide_part_1.ppt (658.0 KB) - added by 14 years ago.
User Guide - part 1
-
UserGuide_part_2.ppt (365.5 KB) - added by 14 years ago.
User Guide - part 2
- UserGuide_part_3.ppt (439.0 KB) - added by 14 years ago.
- screen3.JPG (84.5 KB) - added by 14 years ago.
- screen6.JPG (85.4 KB) - added by 14 years ago.
- screen7.JPG (78.4 KB) - added by 14 years ago.
- screen8.JPG (93.0 KB) - added by 14 years ago.
- screen9.JPG (72.8 KB) - added by 14 years ago.
- screen10.png (64.4 KB) - added by 14 years ago.
- screen11.png (70.1 KB) - added by 14 years ago.
- screen12.png (67.1 KB) - added by 14 years ago.
- screen2.JPG (55.8 KB) - added by 13 years ago.
- screen13.png (73.4 KB) - added by 13 years ago.
- screen14.png (86.1 KB) - added by 13 years ago.
-
screen15.png (87.8 KB) - added by 13 years ago.
Custom test case outcomes
-
screen16.png (97.0 KB) - added by 13 years ago.
Showing tickets related to a test case
-
screen17.png (39.2 KB) - added by 13 years ago.
Selecting multiple test cases to be copied
-
screen18.png (83.2 KB) - added by 13 years ago.
Import Test Cases dialog box
-
screen20.png (96.8 KB) - added by 13 years ago.
Test statistics - Test activity trend
-
screen21.png (92.5 KB) - added by 13 years ago.
Test statistics - Current test status
-
screen22.png (101.1 KB) - added by 13 years ago.
Test statistics - Tickets trend
-
screen23.png (68.6 KB) - added by 13 years ago.
Setting a test case outcome form the test plan tree
-
screen8.png (67.0 KB) - added by 13 years ago.
Setting a test case outcome from the test case
-
screen24.png (62.1 KB) - added by 12 years ago.
Test object change history
-
screen25.png (79.5 KB) - added by 12 years ago.
Export test cases
- CustomFields01.png_th.png (7.9 KB) - added by 10 years ago.
- CustomOutcomes01.png_th.png (9.7 KB) - added by 10 years ago.
- ExportTestCatalog01.png_th.png (11.8 KB) - added by 10 years ago.
- ImportTestCases01.png_th.png (13.2 KB) - added by 10 years ago.
- ObjectChangeHistory01.png_th.png (12.9 KB) - added by 10 years ago.
- Settings01.png_th.png (17.2 KB) - added by 10 years ago.
- Templates01.png_th.png (16.2 KB) - added by 10 years ago.
- TestCase01.png_th.png (10.6 KB) - added by 10 years ago.
- TestCase02.png_th.png (11.9 KB) - added by 10 years ago.
- TestCaseInPlan01.png_th.png (14.0 KB) - added by 10 years ago.
- TestCaseInPlan02.png_th.png (15.5 KB) - added by 10 years ago.
- TestCaseInPlan03.png_th.png (17.7 KB) - added by 10 years ago.
- TestCatalog01.png_th.png (14.3 KB) - added by 10 years ago.
- TestCatalog02.png_th.png (13.6 KB) - added by 10 years ago.
- TestCatalog04.png_th.png (12.7 KB) - added by 10 years ago.
- TestCatalog05.png_th.png (12.3 KB) - added by 10 years ago.
- TestCatalog06.png_th.png (13.4 KB) - added by 10 years ago.
- TestPlan01.png_th.png (11.7 KB) - added by 10 years ago.
- TestPlan03.png_th.png (16.7 KB) - added by 10 years ago.
- TestStats01.png_th.png (16.7 KB) - added by 10 years ago.
- TestStats02.png_th.png (14.5 KB) - added by 10 years ago.
- TestStats03.png_th.png (15.5 KB) - added by 10 years ago.
- Workflow01.png_th.png (12.8 KB) - added by 10 years ago.
- Carousel.png (73.5 KB) - added by 9 years ago.
-
TestManagerForTrac-taxonomy_.png (24.7 KB) - added by 9 years ago.
Test manager taxonomy