SimpleCov PHPUnit Formatter

PHPUnit-like HTML Formatter for SimpleCov.

This SimpleCov-plugin generates a coverage report (coverage/index.html) done like by PHPUnit (PHP_CodeCoverage). Each Ruby source file get its own HTML page.


The preferred method of installation is via

gem install simplecov-phpunit

or via Gemfile:

gem 'simplecov-phpunit', '~>1.0'

or via .gemspec:

spec.add_development_dependency 'simplecov', '~>0.12'
spec.add_development_dependency 'simplecov-phpunit', '~>1.0'


require 'simplecov'
require 'simplecov-phpunit'

SimpleCov.formatter = SimpleCov::Formatter::PHPUnit


Copyright (C) 2016 Christian Mayer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see