[Webtest] verifySelectField

Denis N. Antonioli webtest@lists.canoo.com
Mon, 13 Jun 2005 21:08:08 +0200


Hi Ian

On 13 juin 05, at 20:25, Ian Pojman wrote:

> is it easy to build webtest from source if the tests are failing?
> somewhere in the self-testing (launching jetty?) it's failing, saying
> java returns status 1. is there a way to circumvent testing and build
> a fresh distribution of webtest?

It depends what you want.
webtest.jar is available in $WEBTEST_HOME/deploy/plain/webtest.jar as  
soon as the compilation is finished. The rest of the build process  
tests and documents that jar, so if your build is breaking in the  
selftest, you technically have a new build of webtest.

Now, at your place I would investigate why some tests are failing: if  
you're using source from cvs, it is possible that you caught them in  
an bad state ;-)
To help you find out why the tests break, look in $WEBTEST_HOME/build/ 
log at the two files selftest.console.log.xml  and selftest_jetty.ixml.
To test a new build, we run a set of webtest against jetty as an  
embedded webserver.
selftest.console.log.xml contains the stdout of the process running  
the webtests, and selftest_jetty.ixml logs the webserver.



Best
     dna

-- 
The Laws of Computer Programming
* Finagle's Rule *
Don't believe in miracles - rely on them.