Hi all,

I'd like to announce Coverage.jl https://github.com/IainNZ/Coverage.jl

As of Julia 0.3, there is a command-line flag, --code-coverage, that tells 
you how many times each line in a file is run.

Coverage.jl takes this data, bundles it up, and sends it to 
Coveralls.io<http://coveralls.io>, 
a website the works with your CI system of choice to track your test 
coverage.

More information is in the README.

Its pretty simple to use: after enabling tracking on Coveralls.io, change 
your "run the tests line" to use the --code-coverage flag, then put 
something like the following in:

- julia -e 'Pkg.add("Coverage"); using Coverage; 
Coveralls.submit(Coveralls.process_folder())'

Here is a simple working example: 
https://github.com/IainNZ/RationalSimplex.jl

Its pretty basic and not really robust right now, so of course Pull 
Requests welcome.

Thanks,
Iain

Reply via email to