Edgewall Software
Modify

Opened 3 years ago

Closed 3 years ago

#12667 closed enhancement (fixed)

Make test case in trac.admin.tests.console reusable by plugins

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.3.2
Component: admin/console Version:
Severity: normal Keywords: tests
Cc: Branch:
Release Notes:
API Changes:

Added base class TracAdminTestCaseBase to trac.admin.test, for implementing console admin test cases in Trac packages and plugins.

Moved ticket console admin test cases to trac.ticket.tests.console and version control console admin test cases to trac.versioncontrol.tests.console.

Description (last modified by Ryan J Ollos)

Similar to #12233, we could make the test case in trac.admin.tests.console reusable by plugins, so tests can be more easily written for TracAdmin commands. Some of the tests in trac.admin.tests.console should also be moved to their appropriate packages, such as ticket and versioncontrol.

After moving appropriate tests to versioncontrol, test coverage will be extended (#12665).

Attachments (0)

Change History (3)

comment:1 by Ryan J Ollos, 3 years ago

Description: modified (diff)

comment:2 by Ryan J Ollos, 3 years ago

API Changes: modified (diff)

comment:3 by Ryan J Ollos, 3 years ago

API Changes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed to trunk in r15380.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.