No output from eclipse test framework [message #261047] |
Tue, 13 July 2004 05:44 |
Eclipse User |
|
|
|
Originally posted by: wait_for_eclipse.20.wagener.spamgourmet.com
Hi,
I am trying to set up an automated testing framework for our RCP based
application. At the moment I am working with a dummy unit test plug-in
that works fine when started as a JUnit Plug-in test with the PDE within
my eclipse development environment.
I have copied the tasks in my text.xml from the readme in the
org.eclipse.test plug-in.
<target name="suite">
<property name="data-folder"
value="${eclipse-home}/test_data"/>
<ant target="ui-test" antfile="${library-file}"
dir="${eclipse-home}">
<property name="data-dir"
value="${data-folder}"/>
<property name="plugin-name"
value="${plugin-name}"/>
<property name="classname"
value="com.expadre.environment.test.AllTests"/>
</ant>
</target>
<target name="cleanup">
</target>
<target name="run" depends="init,suite,cleanup">
<ant target="collect" antfile="${library-file}"
dir="${eclipse-home}">
<property name="includes" value="com*.xml"/>
<property name="output-file"
value="${plugin-name}.xml"/>
</ant>
</target>
When I try to run the test with the eclipse test framework I get the
following output:
Buildfile:
C:\Programme\eclipse\workspace\test\com.expadre.environment. test\test.xml
init:
suite:
ui-test:
eclipse-test:
junit:
[echo] Running com.expadre.environment.test.AllTests
[java] Java Result: 13
performance:
cleanup:
run:
collect:
BUILD SUCCESSFUL
Total time: 3 seconds
The output of the "collect" target contains only two lines:
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites></testsuites>
Can somebody tell me what I might be doing wrong?
Sorry for the long post,
Thomas
|
|
|
Powered by
FUDForum. Page generated in 0.02291 seconds