hi,
I m supposed to evaluate Jcoverage .. using ANT .......i m able-- to
1 compile classes
2 instrument
3 run the junits
4 generate reports for junits
however i m able to generate the coverage report but it doesnt show the lines that were executed or those which were not executed...
my build file is as follows :-
<project name="MyProject" basedir=".">
<description>
simple example build file
</description>
<!-- set global properties for this build -->
<property name="src" location="C:\apache-ant-1.6.2\bin"/>
<property name="build" location="C:\apache-ant-1.6.2\bin\build"/>
<taskdef classpath="C:\jcoverage-plus-1.2.9\jcoverage-plus.jar" resource="tasks.properties"/>
<target name="compile" description="compile the source " > <!--Compile the java code from ${src} into ${build}-->
<javac srcdir="C:\apache-ant-1.6.2\bin\build\src" destdir="C:\apache-ant-1.6.2\bin\build\class"/>
</target>
<instrument todir="C:\apache-ant-1.6.2\bin\build\instrumented-classes">
<fileset dir="C:\apache-ant-1.6.2\bin\build\class">
<include name="**/*.class"/>
</fileset>
</instrument>
<jtestrun todir="C:\apache-ant-1.6.2\bin\build\reports">
<classpath location="C:\apache-ant-1.6.2\bin\build\instrumented-classses"/>
<classpath location="C:\apache-ant-1.6.2\bin\build\class"/>
<fileset dir="C:\apache-ant-1.6.2\bin\build\src">
<include name="**/*Test.java"/>
</fileset>
</jtestrun>
<target name="coverage">
<report format="html" srcdir="${src}" destdir="C:\apache-ant-1.6.2\bin\build\CoverageReport"/>
</target>
</project>
Can anyone please suggest where i m goin wrong
---------------------------------
ALL-NEW Yahoo! Messenger - all new features - even more fun!
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
