Re: Problem implementing automated tests

Peter Neubauer <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
On Sunday 19 September 2004 12.36, David Leangen wrote:
> Not sure I understand exactly what you mean, but I am interested...
> Would you mind sending me an example?
In Linux, my script looks like:
---------------------------------------------------------------
#!/bin/sh
export ANT_OPTS="-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y"
echo $ANT_OPTS
ant
------------------------------------------------------------------
And then, you just connect a "Debug remote Java application" session to 
localhost:8000. 

If you want magic to just run the testcase in progress, you can add

project.test.includes=**/MyNotWorkingTestcase.java

to build.properties.

/peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.