RE: How to run unit test

mark mark <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
 --- Stephen McConnell <[email protected]> wrote: 

> > I think you meant for me to move the
> > TestHelloComponent.java file.
> 
> Woops, yes - partly. The directory is now correct
> but the default
> selection of unit tests if *UnitTest.java so you
> probably need to rename
> you testcase.
> 
OK, I renamed the testcase to
HelloComponentUnitTest.java in the directory
${basedir}/src/test/com/itmedico/hellotest/

I still don't get any output from "ant test".  I must
be doing something else wrong.

How does one find out about the naming conventions?  I
followed the included index.xml files but there wasn't
any properties defining this.  Is this specified in
the ant plugin (magic)?

Is there an example of a component and testcase I can
look at to figure out where I am going wrong.  None of
the tutorials contain a testcase.

The help is much appreciated.

Regards.
Mark.

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
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.