TPTP suite file can't read properties from file [message #90937] |
Fri, 05 January 2007 13:08 |
Eclipse User |
|
|
|
Originally posted by: emilnowak1980.o2.pl
Hi,
I'm trying to generate BIRT reports for results of test suite.
When I run .java file as junit test everything is ok, but if I try to
run TPTP testsuite file as test (so right mouse button click -> Run us
-> Test) all test cases failed because the properties was not read from
external properties file.
So my question is: what's the difference with running the same suite as
JUnit(.java file) or Test(.testsuite file) ?
Java code remains the same, locations too, so I see no difference. But
somehow they don't work in the same way.
Any suggestions ?
Thanks in advance,
EN
|
|
|
Re: TPTP suite file can't read properties from file [message #96260 is a reply to message #90937] |
Wed, 18 April 2007 12:21 |
Paul Slauenwhite Messages: 975 Registered: July 2009 |
Senior Member |
|
|
Hi EN,
The JET JUnit runner (*.java) executes the test class in the local
workbench and displays the results. The TPTP JUnit test suite (*.testsuite)
is deployed to the target host, executed and results returned to the
launching host (e.g. workbench) for viewing, navigation and reporting. In
your case, the host is local, but it may in fact be one or more remote
machines. A little more work to configure but much more powerful in terms
of platform coverage, results persistence, extensibility and reporting.
I suspect your problem is related to specify the correct deployment. If
your deployment is always local, you can reference your external properties
file using an absolute path. Alternatively, for remote deployments, you can
add the properties file to the classpoath of your test project and it be
deployed with the test assets. For more information, see
http://help.eclipse.org/help32/topic/org.eclipse.hyades.test .doc.user/tasks/tdeploymentintro.htm.
Paul
"enowak" <emilnowak1980@o2.pl> wrote in message
news:enlila$5sf$1@utils.eclipse.org...
> Hi,
>
> I'm trying to generate BIRT reports for results of test suite.
> When I run .java file as junit test everything is ok, but if I try to run
> TPTP testsuite file as test (so right mouse button click -> Run us ->
> Test) all test cases failed because the properties was not read from
> external properties file.
>
> So my question is: what's the difference with running the same suite as
> JUnit(.java file) or Test(.testsuite file) ?
> Java code remains the same, locations too, so I see no difference. But
> somehow they don't work in the same way.
>
> Any suggestions ?
>
> Thanks in advance,
> EN
|
|
|
Powered by
FUDForum. Page generated in 0.03311 seconds