Modify

Opened 8 years ago

Closed 8 years ago

#5382 closed defect (fixed)

Test suite for XmlRpcPlugin

Reported by: Odd Simon Simonsen Owned by: Odd Simon Simonsen
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Seems it is possible to reuse some of the infrastructure from Trac functional tests. That way the plugin could run actual RPC requests to a live Trac environment - testing all aspects of methods, access/permissions, input and output formats and retrieved results at the same time.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Odd Simon Simonsen

Related: trac:ticket:8388 (patch to avoid duplicating a lot of code to get the infrastructure up and running).

comment:2 Changed 8 years ago by Odd Simon Simonsen

Committed infrastructure in [6064]. Apply the mentioned patch to run tests now (not yet committed to Trac 0.11).

I'll leave this ticket open for now as there are quite a few tests that should be written. Likely they'll get added as I make changes to methods in future revisions. However, leaving it open is also a reminder for everyone that "patches are welcome"... :-)

comment:3 Changed 8 years ago by Odd Simon Simonsen

Resolution: fixed
Status: newclosed

(In [6096]) XmlRpcPlugin: Improvement to Trac infrastructure has been added in trac:changeset:8303, so just updating the error message.

Closes #5382, and futher tests will just have to be added in time as the various parts of the code is touched.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.