scalatra/scalatra — pull request #206 by mnylen (2012-07-18 05:33:16+00:00)
Title: Kill HttpTester

The main selling point:

* Kills HttpTester with a Apache HttpComponents based client

* All tests are now run in an embedded Jetty container. ScalatraTests takes care of starting/stopping it automatically.

* All tests that made direct use of HttpTester has been rewritten to use the test DSL

* Shouldn't break any tests that don't use HttpTester directly

Also:

* Response body can be retrieved as `Array[Byte]` using `bodyBytes`

* You can upload `Array[Byte]` - no need to create a file under `test/resources` just to test file uploads

* You can override content type for file uploads - still defaults to `application/octet-stream`