Opened 5 years ago

Closed 5 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


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

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.