Module SimpleCov
In: lib/simplecov.rb
lib/simplecov/source_file.rb
lib/simplecov/formatter.rb
lib/simplecov/version.rb
lib/simplecov/result.rb
lib/simplecov/filter.rb

Code coverage for ruby 1.9. Please check out README for a full introduction.

Methods

filtered   grouped   load_adapter   result   start   usable?  

Classes and Modules

Module SimpleCov::ArrayMergeHelper
Module SimpleCov::CommandGuesser
Module SimpleCov::Configuration
Module SimpleCov::Formatter
Module SimpleCov::HashMergeHelper
Module SimpleCov::ResultMerger
Class SimpleCov::Adapters
Class SimpleCov::BlockFilter
Class SimpleCov::CoverageDataError
Class SimpleCov::Filter
Class SimpleCov::Result
Class SimpleCov::SourceFile
Class SimpleCov::StringFilter

Constants

VERSION = "0.4.2"

Attributes

running  [RW] 

Public Class methods

Applies the configured filters to the given array of SimpleCov::SourceFile items

Applies the configured groups to the given array of SimpleCov::SourceFile items

Applies the adapter of given name on SimpleCov configuration

Returns the result for the current coverage run, merging it across test suites from cache using SimpleCov::ResultMerger if use_merging is activated (default)

Sets up SimpleCov to run against your project. You can optionally specify an adapter to use as well as configuration with a block:

  SimpleCov.start
   OR
  SimpleCov.start 'rails' # using rails adapter
   OR
  SimpleCov.start do
    add_filter 'test'
  end
    OR
  SimpleCov.start 'rails' do
    add_filter 'test'
  end

Please check out the RDoc for SimpleCov::Configuration to find about available config options

Checks whether we‘re on a proper version of ruby (1.9+) and returns false if this is not the case, also printing an appropriate warning

[Validate]