Hi Ian,
And thank you for the feedback.
On 6/11/07, Ian Bamsey <ian.bamsey(a)certus-tech.com> wrote:
A useful set of unit tests would exercise the
XML-RPC interfaces and
verify the effect in the HTML view.
For example:
1. Use XML-RPC to create/modify a page
2. Assert the page changes via the HTML view.
Sorry, but I don't understand why such a use case would be relevant
when functional testing. I think hardly any end-user uses XML-RPC
directly. And if I was to test the XML-RPC API, I don't understand why
would I need to check the results in a web browser (assuming this is
what you mean by "the HTML view?"). Maybe you can explain better why
this would be useful.
In milestone 1, this does not work and I
don't think it has been
corrected.
Can you give more details of this issue? Is it related to this JIRA
issue
http://jira.xwiki.org/jira/browse/XWSUP-1688 ? Do the others
know more about this?
The important point here is that well structured
code would have the RPC
call use the same function call as the HTML call.
What exactly do you mean by HTML call? I'm confused.
The UT would then
verify the underlying call, then supplementary UTs would check the HTML,
XML-RPC alone, then further tests check there interaction.
Sorry, but I don't understand what you mean. Can you please explain
better?
Regards,
Catalin