Modify

Opened 15 years ago

Closed 15 years ago

#5382 closed defect (fixed)

Test suite for XmlRpcPlugin

Reported by: osimons Owned by: osimons
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 15 years ago by osimons

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

comment:2 Changed 15 years ago by osimons

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 15 years ago by osimons

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