grails-http-builder-helper icon indicating copy to clipboard operation
grails-http-builder-helper copied to clipboard

Provide unit and integration tests.

Open berngp opened this issue 13 years ago • 3 comments

berngp avatar May 27 '11 18:05 berngp

I gave it some thought last night, and think it will be good to go for the Jetty implementation for an integration test, as well as a mocked test for unit testing. Thinking that implementing a small oauth implementation over Jetty as a test fixture could be very valuable.

marc0der avatar May 28 '11 10:05 marc0der

I'll look into it. I also don't feel very confortable without any tests. Will also provide integration tests based on jetty and groovy templates for http methods. On May 28, 2011 3:13 AM, "marcoVermeulen" < [email protected]> wrote:

I gave it some thought last night, and think it will be good to go for the Jetty implementation for an integration test, as well as a mocked test for unit testing. Thinking that implementing a small oauth implementation over Jetty as a test fixture could be very valuable.

Reply to this email directly or view it on GitHub: https://github.com/berngp/grails-rest/issues/1#comment_1253609

berngp avatar May 29 '11 20:05 berngp

You might consider using Ersatz for your mock/simulated testing. Not meaning to spam but this seems like something that would help.

Note: if you are going to run in Grails you may want to use the shadow jar version.

cjstehno avatar Sep 12 '17 17:09 cjstehno