[Webtest] [webtest][JIRA] Created: (WT-37) Running installTest after unzipping fails

Stefan Ruff (JIRA) webtest@lists.canoo.com
Sat, 19 Mar 2005 11:04:06 +0100 (CET)


Running installTest after unzipping fails
-----------------------------------------

         Key: WT-37
         URL: http://webtest-community.canoo.com/jira/browse/WT-37
     Project: WebTest
        Type: Task
 Environment: Win XP, ant 1.6.2, WebTest_1.7, R_752
    Reporter: Stefan Ruff


After unzipping build.zip I tried to run the doc/samples/installTest.xml. T=
he test failes, because com.canoo.webtest.steps.pdftest.VerifyPdfEncryptPro=
pertyStep needs the a class from junit/framework/TestCase.
Junit.jar is not in the classpath defined in the installTest.xml file.

I think there are a few ways to fix the problem:
1) add lib/build/*.jar to the classpath, (which I think is not a preferable=
 way)
2) move junit.jar from lib/build to lib
3) change VerifyPdfEncryptPropertyStep so it don=E2=80=99t need classes fro=
m junit/framework/TestCase

This is needed to make the installing description (WebTest book) easy.

Original console output:
BUILD FAILED
C:\Program Files\WebTest_1.7_R_752\doc\samples\installTest.xml:41: taskdef =
A class needed by class com.canoo.webtest.steps.pdftest.VerifyPdfEncryptPro=
pertyStep cannot be found: junit/framework/TestCase

--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira