cannot run samples.check

Asked by Martin Serkin

Installed testplan. ran samples.check and received the following error
tetestplan.auto.TestUnit$NoSuchTestUnitException: undefined test unit: samples.check
        at testplan.auto.TestUnit.execute(TestUnit.java:619)
        at testplan.auto.Run.run(Run.java:215)
        at testplan.auto.JavaRun.main(JavaRun.java:165)
!!! Exception
Test Execution Trace:
        Run: samples.check Incomplete
!!! exitCode = EXCEPTION
Finished.

Question information

Language:
English Edit question
Status:
Answered
For:
TestPlan Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
edA-qa (eda-qa) said :
#1

Can you tell me what OS you are using?

The error indicates that our auto-detect of the install directly is probably not working. If you'd like to test this then you can define the TESTPLAN_HOME environment variable to the place where you installed:
export TESTPLAN_HOME=/opt/testplan/

In that directly also check that <tests/samples/check.test> exists.

Revision history for this message
Martin Serkin (martin-b-serkin) said :
#2
Revision history for this message
edA-qa (eda-qa) said :
#3

Oops, your response was empty?

Revision history for this message
Martin Serkin (martin-b-serkin) said :
#4

We are utilizing Windows XP. I checked the directories and the path specified inyour email does not exits.

Martin B. Serkin

Revision history for this message
edA-qa (eda-qa) said :
#5

Unfortunately it looks like something broke between r1 and r2 and I can't explain what. To remedy the problem I've uploaded a new version r3 which I've tested and works on Windows XP. I extracted r3 to the directory:

c:\testplan-1-0-r3

and then in a command prompt ran:

c:\testplan-1-0-r3\bin\testplan samples.check

And get a successful output.

I hope this solves your problem, if not don't hesitate to ask more. Our tested on windows is admittedly less than on Linux.

Can you help with this problem?

Provide an answer of your own, or ask Martin Serkin for more information if necessary.

To post a message you must log in.