: > ...It is harder to test things that rely on a container, but there are : > many techniques to make it easier with mocks... : : FWIW, it's very easy to start Jetty in embedded mode from a Java : class, this can be useful for testing.
I'm in favor of both of these things: it would be great if the TestHarness class had some helper methods for using MockHttpServletRequest/Response objects to test the servlets directly in UnitTests, and it would be great if we had an Integration Test phase of our build system that spun up jetty using the example schema, populated it with data, and then tested it over the wire. -Hoss