Hi Tyler, Thanks for your response.
The closest code to what I am looking for is under the sites/example/ src/test area. Under this area, the WikiUsages.scala code is a nice example of how to test a web page. It uses a jwebunit WebTester class to browse the page and perform tests on it. Since I have a REST API, I am looking for a way to do http operations where I can specify URL params and test what is returned. WebTester does not fit this use. However, I just need to find a class to replace WebTester in the WikiUsages.scala code and I should be good to go. You have given me a good start and I'll keep searching. Thanks. Dano On Dec 4, 12:34 pm, TylerWeir <[EMAIL PROTECTED]> wrote: > Hey Dano, > > For getting examples of how to write tests, the main tree has a bunch > of tests in it:http://github.com/dpp/liftweb/tree/master/lift/src/test > andhttp://github.com/dpp/liftweb/tree/master/sites/example/src/test/ > > Poke around and you'll see that most of the tests are Specs > +Scalacheck. > > Answer your question? > > On Dec 4, 1:26 pm, Dano <[EMAIL PROTECTED]> wrote: > > > Hello Fellow Lifters! > > > I am working on a set of REST APIs for a new Innovation Game and was > > browsing around the lift group for advice on how this is done. > > > From one of dpp's posts, I gathered that lift-testkit is what I should > > use. Has anyone used lift-testkit to test REST api's or know of any > > sample test code which could be used as a starting point? > > > Thanks very much in advance for any help. > > > Dan O. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---