Bonjour
J'essaye d'utiliser Clover mais je ne sais pas ce qu'il faut mettre comme fichier de base de données dans le paramètre "initstring"
Merci
Bonjour
J'essaye d'utiliser Clover mais je ne sais pas ce qu'il faut mettre comme fichier de base de données dans le paramètre "initstring"
Merci
En fait le fichier de base de données est crée lors de la compilation des sources
exemple de fichier buil.xml :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51 <project name="gestion_personne" default="clean" basedir="."> <property name="src" location="src"/> <property name="build" location="build"/> <property name="ant_home" value="c:\apache-ant-1.6.2"/> <taskdef resource="clovertasks"/> <typedef resource="clovertypes"/> <path id="build.classpath"> <pathelement path="${ant_home}/lib/clover.jar"/> <pathelement path="${build}"/> </path> <target name="with.clover"> <clover-setup initString="clover/gestion_personne_coverage.db"/> </target> <target name="compile" depends="with.clover"> <mkdir dir="${build}"/> <javac srcdir="${src}" destdir="${build}"/> </target> <target name="run" depends="compile"> <java classname="operations.Execution" fork="yes"> <classpath refid="build.classpath"/> </java> </target> <target name="clover.xml" depends="run"> <clover-report> <current outfile="./report/clover_report.xml"> <format type="xml"/> </current> </clover-report> </target> <target name="clover.html" depends="clover.xml"> <clover-report> <current outfile="./report/clover_report.html" title="Report"> <format type="html"/> </current> </clover-report> </target> <target name="clean" depends="clover.html"> <delete dir="${build}"/> </target> </project>
Partager