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.
Project Outlines
The project outlines as described in my blog post about Open Source Software Collaboration.
- The main purpose of this software is to provide a PHPUnit-like layout for SimpleCov.
- This list is open. Feel free to request features.
Install
The preferred method of installation is via RubyGems.org: https://rubygems.org/gems/simplecov-phpunit
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'
Usage
require 'simplecov'
require 'simplecov-phpunit'
SimpleCov.formatter = SimpleCov::Formatter::PHPUnit
SimpleCov.start