devel/ruby-approvaltests 0.1.7 NetBSD
Assertion/verification library to aid testing
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, ruby
- Package size
- 89.4 KiB, 191.9 KiB installed
Description
`approvaltests` is the Ruby port of ApprovalTests, an open source assertion/verification library to aid testing.
You can use ApprovalTests to verify objects that require more than a simple assert including long strings, large arrays, and complex hash structures and objects. ApprovalTests really shines when you need a more granular look at the test failure. Sometimes, trying to find a small difference in a long string printed to STDOUT is just too hard! ApprovalTests solves this problem by providing reporters which let you view the test results in one of many popular diff utilities.
Install
Binary package:
pkgin install ruby33-approvaltests
From pkgsrc:
cd /usr/pkgsrc/devel/ruby-approvaltests && 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 | 0.1.7 |
| NetBSD 10.1 aarch64 | 0.1.7 |
| SmartOS / illumos x86_64 | 0.1.7 |
| macOS 15 arm64 | 0.1.7 |
Dependencies
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-approvaltests-0.1.7,ruby40-approvaltests-0.1.7