[
https://issues.apache.org/jira/browse/CMIS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965838#action_12965838
]
Stefan Topfstedt commented on CMIS-271:
---------------------------------------
IMO one prerequisite of this would be to re-factor the REST client interface
and functionality (doGet(), doPost() etc.) out into its own interface and
implementing classes.
(the default implementation would be the current, cURL-based one).
This would open up the door for mocking-up the repository via a "test"
implementation of REST client interface that can be configured to serve up
canned responses instead of interacting with a real CMIS-enabled repo.
I'd be willing to throw some time at this, pls. let me know if there is any
interest in this.
+1 for using PHPUnit btw.
> Use a regular test framework
> ----------------------------
>
> Key: CMIS-271
> URL: https://issues.apache.org/jira/browse/CMIS-271
> Project: Chemistry
> Issue Type: Improvement
> Components: cmis-phplib
> Reporter: Patrice Collardez
>
> Use a test framework like PHPUnit or equivalent that we may use with Hudson.
> Note: PHPUnit is a PEAR framework and has some dependencies. Provide
> documentation or links on how to install and use it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.