text/html support for servletrunner
Brought to you by:
russgold
hi all,
it seems like there's no way so far to set the WebResponse's content-type when using ServletRunner.
HttpUnitOptions.setDefaultContentType() doesn't seem to work neither.
it would be really useful having HttpUnitOptions also configure ServletRunner responses.
thanks a lot.
----
Jacopo Franzoi, SourceSense
jacopo.franzoi@sourcesense.com
Jacopo,
thank you so much for your feature request feedback. I'll happily work on this issue based on a JUnit testcase showing the expected behaviour.
Wolfgang
Dear httpunit user!
Thank you for your feature request. We appreciate the time and effort you are putting into this.
Please supply a testcase with the expected result for the feature you are asking for and we'll look into implementing it. For a start you might want to get the trunk version from the
subversion repository (see https://sourceforge.net/svn/?group_id=6550\)
and have a look at the source code of some of the more than 700 JUnit based testcase in there.
When you are ready you might want to attach the testcase (and if you already have started implementing it also the actual code) to your feature request.
This should give you a clue on what a proper testcase for httpunit looks like. The main communication about further details of the development is via the httpunit developer mailinglist. You are most welcome to sign up via
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
Yours
The httpunit developer team
(Russell and Wolfgang as of 2008-03)