A real-time visualization of code coverage for Java programs
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main/java
.gitignore
.travis.yml
README.md
example_commons-lang.sh
install.sh
pom.xml

README.md

CoCoSpoon-uiBuild Status

This project is the graphical part of CoCoSpoon

Install

To Install CoCoSpoon-Ui first clone it from github:

git clone http://github.com/SpoonLabs/CoCoSpoon-ui.git

Then run the following script:

./install.sh

It will first retrieve and install CoCoSpoon, and then compile CoCoSpoon-ui.

Run

Example

You can run as example commons-lang by running the following script:

./example_commons-lang.sh

Your own

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.

Options

CocoSpoon
   -i, --input-path     input project folder
   -o, --output-path    instrumented project destination
  [-c, --classpath      classpath]
  [-v, --view-type      TEXT | OVERALL | INTERACTIVE]

Screencast

alt tag

Screenshots

alt tag alt tag alt tag