Edgewall Software

Opened 6 years ago

Last modified 2 years ago

#12667 closed enhancement

Make test case in trac.admin.tests.console reusable by plugins — at Version 2

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:

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

Added base class TracAdminTestCaseBase to trac.admin.test, to ease implementation of console admin test cases in Trac packages and plugins.

Internal Changes:

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).

Change History (2)

comment:1 by Ryan J Ollos, 6 years ago

Description: modified (diff)

comment:2 by Ryan J Ollos, 6 years ago

API Changes: modified (diff)
Note: See TracTickets for help on using tickets.