[Lift] Re: lift-testkit/REST API test example code

2008-12-04 Thread TylerWeir
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 and http://github.com/dpp/liftweb/tree/master/sites/example/src/test/ Poke around and you'll see that most of the tests are Specs +Scalacheck.

[Lift] Re: lift-testkit/REST API test example code

2008-12-04 Thread David Pollak
Dan, In the Buy a Feature SVN repository, look in the stress_test directory. It's got code that uses the testkit. Thanks, David On Thu, Dec 4, 2008 at 10:26 AM, Dano [EMAIL PROTECTED] wrote: Hello Fellow Lifters! I am working on a set of REST APIs for a new Innovation Game and was

[Lift] Re: lift-testkit/REST API test example code

2008-12-04 Thread Dano
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.