Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » No output from eclipse test framework
No output from eclipse test framework [message #261047] Tue, 13 July 2004 09:44
Eclipse UserFriend
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
Previous Topic:Auto detection of a new plugin don't work
Next Topic:Help needed getting started with a new application
Goto Forum:
  


Current Time: Wed Jul 17 13:43:55 GMT 2024

Powered by FUDForum. Page generated in 0.02713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top