BSD Ports

devel/ruby-simplecov 1.3.0 NetBSD

Code coverage for Ruby

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
2d54143def
License
mit
Categories
devel, ruby
Package size
547.2 KiB, 1825.1 KiB installed

Description

SimpleCov is a code coverage analysis tool for Ruby. It uses Ruby's built-in Coverage library to gather coverage data, but makes processing the results much easier by providing a clean API to filter, group, merge, format, and display them -- a complete coverage suite you can set up in just a couple of lines.

SimpleCov tracks covered Ruby code; gathering coverage for templating solutions like ERB, Slim, and Haml is not supported (though see Eval coverage for ERB).

In most cases you'll want overall coverage results spanning all of your tests -- unit tests, Cucumber features, and so on. SimpleCov handles this automatically by caching and merging results as it generates reports, so a report reflects coverage across your whole test suite and gives you a truer picture of your blank spots.

SimpleCov bundles two formatters that need no extra gems: the default HTML formatter (which renders the browsable report) and a JSON formatter. Both were once separate gems (simplecov-html and simplecov_json_formatter) but are now built into SimpleCov and configured automatically when you launch it.

Install

Binary package:

pkgin install ruby33-simplecov

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-simplecov && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.0
NetBSD 10.1 aarch640.22.0
SmartOS / illumos x86_641.3.1
macOS 15 arm641.3.1

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-simplecov-1.3.0, ruby40-simplecov-1.3.0

Commit history 8

DateCommitCreditsLog message
2d54143def taca devel/ruby-simplecov: update to 1.3.1
1.3.1 (2026-09-24) Bugfixes * cover_views compiles templates on Rails main again. Rails removed ActionView::Template.registered_template_handler; the lookup reads ActionView::Template::Handlers.template_handlers and still skips an extension with no handler. See #1300. * require "simplecov" works again on JRuby on Windows, where 1.3.0 raised LoadError: Could not open library '.../libprism.dll'. Prism's FFI backend cannot open its native library there, and 1.3.0 required Prism as soon as SimpleCov loaded. Prism now loads only when branch or method coverage needs the static extractor, which a line-only run never does. Where it cannot load at all, the extractor falls back to empty branch and method tables for never-loaded files, as it did before 1.3.0. See #1299. …
7e3913e5c5 taca devel/ruby-simplecov: update to 1.3.0
pkgsrc changes: * Add ALTERNATIVES. * Install manpage with/without installation of ruby-manpages package. 1.3.0 (2026-09-12) SimpleCov 1.3 raises the minimum Ruby to 3.3, brings the coverage directives to ERB, Haml, and Slim templates, teaches simplecov patch and simplecov uncovered to annotate CI hosts natively, and settles what the report says about files and groups that hold nothing. Highlights * Ruby 3.2 is no longer supported. The minimum is Ruby 3.3, which bundles Prism, so the static coverage extractor stops probing for it and the emulation of 3.2's constant folding is gone. * # simplecov:disable and # simplecov:enable work inside ERB, Haml, and Slim templates measured with cover_views, in each language's own comment syntax or as Ruby comments on a code line. …
b82e1d8489 wiz ruby-simplecov: no man page is installed, remove it from PLIST
Bump PKGREVISION.
886c2ecdee taca devel/ruby-simplecov: update to 1.2.0
1.2.0 (2026-09-04) SimpleCov 1.2 adds change-focused coverage, per-test attribution, production coverage, and a substantially expanded CLI while keeping the existing configuration API working through deprecation aliases. Highlights * track_tests, simplecov tests, and simplecov affected connect covered lines to the tests that exercised them; the HTML report displays the same attribution and simplecov watch uses it for focused reruns. * simplecov patch, per-file baselines, missed-count caps, and coverage history make coverage gates useful for both new changes and legacy codebases. * SimpleCov::Production records low-overhead production line coverage, while simplecov dead-code and the bundled reports cross it with test coverage. …
ff44b9e3e6 taca devel/ruby-simplecov: update to 1.1.1
pkgsrc change: remove pkglint warnings from DESCR. 1.1.1 (2026-08-12) What's Changed * Bump step-security/harden-runner from 2.20.0 to 2.20.1 by @dependabot[bot] in #1258 * rspec-conductor Support by @sferik in #1259 Contributors * @sferik * @dependabot

The latest 5 of 8 in the history this site was built from.