Ticket #5382 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Test suite for XmlRpcPlugin

Reported by: osimons Assigned to: 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

Change History

06/16/09 14:40:28 changed by osimons

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

06/20/09 03:39:16 changed 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"... :-)

06/26/09 02:42:07 changed by osimons

  • status changed from new to closed.
  • resolution set to fixed.

(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/Change #5382 (Test suite for XmlRpcPlugin)




Change Properties
Action