Menu

jmln-test:Please help I don't understand

Help
beuveda
2007-03-23
2013-04-25
  • beuveda

    beuveda - 2007-03-23

    Below you'll find my ant script print.xml. It contains only 1 task T1 with a <jmln-test> tag with printTestSuiteSummary to true. When the tasks is over, I can not find the TestResults.html. What am I missing ?

    I launch the script with the command: ant -lib C:\MyPrograms\jameleon-test-suite\lib -f print.xml T1 

    <project name="project" default="T1" basedir=".">

    <property file="build.properties" />

    <path id="base.classpath">
    <fileset dir="${lib.dir}">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="${lib.dir}"/>
    </path>

    <path id="classpath">
    <path refid="base.classpath"/>
    <pathelement location="${build.dir}"/>
    <pathelement location="${res.dir}"/>
    </path>

    <taskdef resource="ant/JameleonAntTasks.properties" format="properties" classpathref="classpath"/>

    <target name="T1" description="">
    <jmln-test printTestSuiteSummary="true" >
    <fileset dir="scripts/thread">
    <include name="T1.xml"/>
    </fileset>
    </jmln-test>
    </target>

    </project>

    Thank you in advance

     
    • Christian Hargraves

      I don't know. I have never run it this way before.

      Does it execute any tests? My guess is that it is looking for a scripts/thread/T1.xml file in your current working directory, but not finding one. You should see some output that says a test is being executed.

       

Log in to post a comment.