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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.3.0 |
| NetBSD 10.1 aarch64 | 0.22.0 |
| SmartOS / illumos x86_64 | 1.3.1 |
| macOS 15 arm64 | 1.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
The latest 5 of 8 in the history this site was built from.