This project is the graphical part of CoCoSpoon
Prerequisite: use a JVM with JavaFX installed.
cat $JAVA_HOME/jre/lib/javafx.properties
To Install CoCoSpoon-Ui :
git clone https://github.com/SpoonLabs/CoCoSpoon.git
cd CoCoSpoon/CoCoSpoon-ui
sh install.sh
You can run as example commons-lang by running the following script:
./example_commons-lang.sh
You can run CoCoSpoon-Ui on your project with:
mvn exec:java -Dexec.mainClass="Main" -Dexec.args="-i <pathToMyProject> -o <pathToMyOutput> -v OVERALL"
and by replacing <pathToMyProject>
by the path to the root directory of your project, and
<pathToMyOutput>
by the desired location of the output. The output can be the same as your input, but CoCoSpoon will erase old version by the instrumented one.
To the real time coverage, just run your test suite in your favorite IDE.
CocoSpoon
-i, --input-path input project folder
-o, --output-path instrumented project destination
[-c, --classpath classpath]
[-v, --view-type TEXT | OVERALL | INTERACTIVE]