ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zheng yiyu" <digua...@gmail.com>
Subject Re: AW: Hi I need some help
Date Wed, 27 Sep 2006 09:52:20 GMT
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 <digua009@gmail.com> 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 <paulk@asert.com.au> 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.
> >
> > Jan.Materne@rzf.fin-nrw.de 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:digua009@gmail.com]
> > >> 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: dev-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: dev-help@ant.apache.org
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail: dev-help@ant.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message