I run with command "ant test -d" and found that the error message is "Property "testcase" has not been set" .
Where could I set this property , or do I missed one property file? On 9/27/06, zheng yiyu <[EMAIL PROTECTED]> wrote:
Dear all, I run the "ant test" following Kevin's step , and it successful .But I could not find any result except the info "build successful". the concrete info in the cmd is as follows junit-tests: junit-single-test-only: junit-single-test: junit-report: antunit-tests: antunit-report: tests-failed: test: build successful Total time : 4 seconds I see no real result , just I want to now are all the testcases passed . Did i make any mistake? Thx On 9/27/06, Paul King <[EMAIL PROTECTED]> wrote: > > > Groovy lets you run AntUnit tests (in Groovy AntBuilder syntax) and see > the results using the normal Green bar if you use Groovy's AllTestSuite. > > > Otherwise, just "run as" -> "ant..." and point to your ant 1.7 jar files > so you don't get the built-in ant jars and you can expect output as per > below: > > Buildfile: C:\Documents and > Settings\Paul\workspaceAU\AntUnitProj\build.xml > all: > [au:antunit] Build File: C:\Documents and > Settings\Paul\workspaceAU\AntUnitProj\build.xml > [au:antunit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.047sec > [au:antunit] Target: test1 took 0.032 sec > BUILD SUCCESSFUL > Total time: 406 milliseconds > > Cheers, Paul. > > [EMAIL PROTECTED] wrote: > > I would not use Eclipse for that - use Ant itself. > > So from inside Eclipse use Ants own buildfile for starting the > testcases. > > > > Oh yes - another reason: Eclipse cant run AntUnit-Tests AFAIK ;-) > > > > > > Jan > > > >> -----Ursprüngliche Nachricht----- > >> Von: zheng yiyu [mailto:[EMAIL PROTECTED] > >> Gesendet: Mittwoch, 27. September 2006 08:31 > >> An: dev@ant.apache.org > >> Betreff: Hi I need some help > >> > >> Could anyone tell me how to run the testcases of ant in > >> eclipse ? I just mean the testcases in the trunk I checked out > >>from the svn. > >> Thanks. > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >