devel/rubygem-mocha 2.7.1 DragonFly
Library for mocking and stubbing syntax like JMock and SchMock
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE, MIT, RUBY
- Categories
- devel, rubygems
- Package size
- 59.8 KiB, 259.8 KiB installed
Description
Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock. One of its main advantages is that it allows you to mock and stub methods on real (non-mock) classes and instances.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-mocha | 2.7.1 |
| FreeBSD | devel/rubygem-mocha | 3.1.0 |
Install
Binary package:
pkg install rubygem-mocha
From DPorts:
cd /usr/dports/devel/rubygem-mocha && make install clean