httpunit 1.7.1 release to Maven central - request for test and fix
Wolfgang Fahl <[email protected]> Mon, 10 Sep 2012 10:50:18 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Organization | BITPlan GmbH |
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============9045619622828621880==
Content-Type: multipart/alternative;
boundary="------------080001030401040705020304"
This is a multi-part message in MIME format.
--------------080001030401040705020304
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Dear httpunit developers,
Kai has proposed to upload the current state of httpunit to the central
maven repository.
Russell has than modified the project content to better support maven.
Unfortunately the test cases did not run through reliably
and as a first measure Russell has converted the tests to JUnit 4 (see
below)
I'd like to ask all httpunit developers to help test and fix the current
httpunit state.
Please find below a script which can test multiple httpunit revisions
using maven. Currently we are interested in the revison 1085
test results and ways to fix the remaining problems.
To test only revision 1085 the following commands will do:
svn checkout -r 1085
https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit
httpunit1085
cd httpunit1085
mvn test
Thank you for your support
Yours
Wolfgang
# test different versions of httpunit
# to check for regression
# WF 2009-10-05
# retest 2012-09-06
root=`pwd`
#r=971
r=1085
while [ $r -le 1085 ]
do
date=`date`
echo testing $r at $date
cd $root
svn checkout -r $r
https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit
httpunit$r > /dev/null
cd httpunit$r
mvn test > ../htestresult.$r
grep FAILURE ../htestresult.$r
echo done
r=`expr $r + 1`
done
I have now converted the tests to JUnit4 and am initializing the
pseudoserver once per class rather than once per test. This speeds up
the tests slightly (about 15%) and makes them much more reliable. On the
other hand, it does mean that the tests can be slightly interdependent -
resource names should be made unique between tests. What I see now is
that there are two tests which appear to be failing intermittently:
>
> WebClientTest.testInternalErrorException
> WebImageTest.testGetImage
>
> It might be worth taking a look to see if you are seeing the same
> behavior and if you have any ideas on how to fix it.
>
rev 1085 has the following results here:
*Ubuntu 12.04 LTS Quad Core 2.3 GHz:**
*Tests run: 813, Failures: 0, Errors: 0, Skipped: 8
[INFO] Total time: 18.200s
*Mac OS Tiger Quad Core 2 GHz:*
Failed tests:
testInternalErrorException(com.meterware.httpunit.WebClientTest):
Should have rejected the request
Tests run: 813, *Failures: 1*, Errors: 0, Skipped: 8
[INFO] BUILD FAILURE
[INFO] Total time: 20.650s
*Windows XP virtual machine in Mac OS Quad Core env:**
*Tests hang at Running com.meterware.httpunit.WebPageTest ... and one
failure before that:
Tests run: 38, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 1.781
sec <<< FAILURE!
Running com.meterware.httpunit.WebFormTest
--
BITPlan - smart solutions
Wolfgang Fahl
Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
Tel. +49 2154 811-480, Fax +49 2154 811-481
Web: http://www.bitplan.de
BITPlan GmbH, Willich - HRB 6820 Krefeld, Steuer-Nr.: 10258040548, Geschäftsführer: Wolfgang Fahl
--------------080001030401040705020304
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear httpunit developers,<br>
<br>
Kai has proposed to upload the current state of httpunit to the
central maven repository.<br>
Russell has than modified the project content to better support
maven. Unfortunately the test cases did not run through reliably<br>
and as a first measure Russell has converted the tests to JUnit 4
(see below)<br>
<br>
I'd like to ask all httpunit developers to help test and fix the
current httpunit state.<br>
<br>
Please find below a script which can test multiple httpunit
revisions using maven. Currently we are interested in the revison
1085<br>
test results and ways to fix the remaining problems. <br>
<br>
To test only revision 1085 the following commands will do:<br>
<blockquote> svn checkout -r 1085
<a class="moz-txt-link-freetext" href="https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit">https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit</a>
httpunit1085<br>
cd httpunit1085<br>
mvn test<br>
</blockquote>
Thank you for your support<br>
<br>
Yours<br>
Wolfgang<br>
<br>
<br>
# test different versions of httpunit<br>
# to check for regression<br>
# WF 2009-10-05<br>
# retest 2012-09-06<br>
root=`pwd`<br>
#r=971<br>
r=1085<br>
while [ $r -le 1085 ]<br>
do<br>
date=`date`<br>
echo testing $r at $date<br>
cd $root<br>
svn checkout -r $r
<a class="moz-txt-link-freetext" href="https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit">https://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit</a>
httpunit$r > /dev/null<br>
cd httpunit$r<br>
mvn test > ../htestresult.$r<br>
grep FAILURE ../htestresult.$r<br>
echo done<br>
r=`expr $r + 1`<br>
done<br>
<br>
I have now converted the tests to JUnit4 and am initializing the
pseudoserver once per class rather than once per test. This speeds
up the tests slightly (about 15%) and makes them much more reliable.
On the other hand, it does mean that the tests can be slightly
interdependent - resource names should be made unique between tests.
What I see now is that there are two tests which appear to be
failing intermittently:
<blockquote type="cite">
<div><br>
</div>
<div>WebClientTest.testInternalErrorException</div>
<div>WebImageTest.testGetImage</div>
<div><br>
</div>
<div>It might be worth taking a look to see if you are seeing the
same behavior and if you have any ideas on how to fix it.</div>
<div><br>
</div>
</blockquote>
rev 1085 has the following results here:<br>
<br>
<b>Ubuntu 12.04 LTS Quad Core 2.3 GHz:</b><b><br>
</b>Tests run: 813, Failures: 0, Errors: 0, Skipped: 8<br>
[INFO] Total time: 18.200s<br>
<br>
<b>Mac OS Tiger Quad Core 2 GHz:</b><br>
Failed tests:<br>
testInternalErrorException(com.meterware.httpunit.WebClientTest):
Should have rejected the request<br>
<br>
Tests run: 813, <b>Failures: 1</b>, Errors: 0, Skipped: 8<br>
[INFO] BUILD FAILURE<br>
[INFO] Total time: 20.650s<br>
<br>
<b>Windows XP virtual machine in Mac OS Quad Core env:</b><b><br>
</b>Tests hang at Running com.meterware.httpunit.WebPageTest ... and
one failure before that:<br>
<br>
Tests run: 38, Failures: 1, Errors: 0, Skipped: 3, Time elapsed:
1.781 sec <<< FAILURE!<br>
Running com.meterware.httpunit.WebFormTest<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
BITPlan - smart solutions
Wolfgang Fahl
Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
Tel. +49 2154 811-480, Fax +49 2154 811-481
Web: <a class="moz-txt-link-freetext" href="http://www.bitplan.de">http://www.bitplan.de</a>
BITPlan GmbH, Willich - HRB 6820 Krefeld, Steuer-Nr.: 10258040548, Geschäftsführer: Wolfgang Fahl </pre>
</body>
</html>
--------------080001030401040705020304--
--===============9045619622828621880==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
--===============9045619622828621880==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
--===============9045619622828621880==--