How to run unit test
mark mark <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <[email protected]> |
I am trying to run a very simple unit test basically cut and paste from the "Hello Example" (http://avalon.apache.org/central/about/tutorials/advanced/unit/example.html) but it won't run from ant. How do you get it to run? I have attached my specific code used. (except for the standard.xml file.) Regards. Mark. Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
index.xml
(text/xml, 512 B)
<?xml version="1.0" encoding="iso-8859-1"?>
<index>
<import href="http://svn.apache.org/repos/asf/avalon/trunk/runtime/index.xml"/>
<project basedir=".">
<info>
<group>itmedico/hellotest</group>
<name>itmedico-hellotest</name>
</info>
<dependencies>
<include key="avalon-framework-api" runtime="false"/>
<include key="avalon-merlin-unit" runtime="false"/>
</dependencies>
<plugins>
<include key="avalon-meta-tools"/>
</plugins>
</project>
</index>
build.xml
(text/xml, 447 B)
<?xml version="1.0" encoding="UTF-8" ?>
<project name="itmedico-hellotest" default="install" basedir="." xmlns:x="antlib:org.apache.avalon.tools">
<property name="project.home" value="." />
<import file="${project.home}/standard.xml" />
<target name="build" depends="standard.build">
<x:block name="hellotest" embed="MAIN">
<x:component name="hello" class="com.itmedico.hellotest.HelloComponent" />
</x:block>
</target>
</project>