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
comment:2 Changed 15 years ago by
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
Resolution: | → fixed |
---|---|
Status: | new → 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.
Related: trac:ticket:8388 (patch to avoid duplicating a lot of code to get the infrastructure up and running).