Hi Henrique,

On 03/07/2012, at 1:20 PM, Henrique Prange wrote:

> Simple question: how are you testing ERRest APIs?

In a project I was working on a few months ago, I was doing what amounts to 
rudimentary functional testing using Apache HttpClient.  Using JUnit as the 
test runner, I was simply constructing the appropriate requests and checking 
the responses.  It was somewhat tedious, but it worked to the extent that you 
could manually run a test quite against the app running in Eclipse.  Time did 
not permit anything more sophisticated, such as working out the best way to run 
the tests in a continuous integration setting, or factoring the code 
appropriately to reduce the tedium of making new tests.  If I get time to 
revisit it, those two things would certainly be my goal, as manually running 
the tests is better than nothing, but obviously nowhere near as good as having 
it in the CI process.


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to