Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP suite file can't read properties from file
TPTP suite file can't read properties from file [message #90937] Fri, 05 January 2007 13:08 Go to next message
Eclipse UserFriend
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 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
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
Previous Topic:Platform Requirements Question
Next Topic:Information on org.eclipse.pde.ui.test?
Goto Forum:
  


Current Time: Tue Mar 19 05:19:08 GMT 2024

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

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

Back to the top