No commit activity in last 3 years
No release in over 3 years
PHPUnit-like HTML Formatter for SimpleCov.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.8
~> 0.12
 Project Readme

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

Project Links

Weblinks