Review Board 1.5.4

Issue 511 Enhance TestKit

Updated 1 year, 8 months ago

David Pollak Reviewers
dpp, marius, charles, joni, atsuhiko, jorge, naftoli, kris, indrajit, alexb, dlouwers, mstarzyk, rmellgren, jhoffman, probinett, jmadsen, mhartmann, jstrachan, jgoday
None LiftWeb-archive
https://liftweb.assembla.com/spaces/liftweb/tickets/511?batch=false&tickets_report_id=1&ticket_id=511&commit=Go+%C2%BB

dpp_issue_511

There were some wrong header kinda stuff happening in TestKit (the wrong XML headers were posted.)

I took the opportunity to refactor TestKit into something a lot more friendly (basically you can make chained requests in a for loop).  The types of response to post, get, etc. is based on a mixin (you can return the existing Response or Box[HttpResponse]).  I also added support for posting/putting JSON.  Finally, got rid of an annoying warning from the underlying Apache libraries
Already on the 2.8 branch and in active use in the All for Good project.
Ship it!
Posted 1 year, 8 months ago (May 26th, 2010, 11:27 p.m.)
looks reasonable to me