Cool, I am trying that out. It seems to work well, but jetty takes abouts 2s to fire up, any tips on reducing that?
------------------------------ From: Jonathan Ferguson <j...@spiralarm.com> Sent: Monday, November 09, 2009 10:50 PM To: liftweb@googlegroups.com Subject: [Lift] Re: Unit testing a RESTful webservice with Lift We fire up Jetty populate a temp database and then run a batch of tests. Seems to work well for us. Jono 2009/11/10 Alex Black <a...@alexblack.ca> > > Can anyone suggest some good examples or strategies to use to test a > webservice written with Lift? > > I've started down the path of firing up Jetty in a unit test, then > just hitting it with say a GET and checking the response. Whats a > good way of firing up Jetty? It looks like using ServletTester would > be the way to go: > > http://www.christianschenk.org/blog/testing-web-applications-with-jetty/ > > could that work with Lift? > > - Alex > > --~--~---------~--~----~------------~-------~--~----~ 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 liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---