## Muack <https://github.com/godfat/muack>
by Lin Jen-Shin ([godfat](http://godfat.org))
## DESCRIPTION:
Muack -- Yet another mocking library.
Basically it's an [RR] clone, but much faster under heavy use.
It's 32x times faster (750s vs 23s) for running [Rib] tests.
[RR]: https://github.com/rr/rr
[Rib]: https://github.com/godfat/rib
## INSTALLATION:
gem install muack
### SYNOPSIS:
Basically it's an [RR] clone. Let's see a [Bacon] example.
require 'bacon'
require 'muack'
include Muack::API
describe 'Hello' do
before{ Muack.reset }
after { Muack.verify }
should 'say world!' do
str = 'Hello'
mock(str).say('!'){ |arg| "World#{arg}" }
str.say('!').should.equal 'World!'
end
end
[Bacon]: https://github.com/chneukirchen/bacon
Please read the README for other SYNOPSIS.
Clearly, this is the follow to the previous pork shoulder, or else
you're pulling our leg....
···
Lin Jen-Shin (godfat) <godfat@godfat.org> wrote:
Basically it's an [RR] clone. Let's see a [Bacon] example.
I have no idea which you're referring to, could you point it for me?
···
On Sat, Jun 29, 2013 at 9:53 AM, Tamara Temple <tamouse.lists@gmail.com> wrote:
Lin Jen-Shin (godfat) <godfat@godfat.org> wrote:
Basically it's an [RR] clone. Let's see a [Bacon] example.
Clearly, this is the follow to the previous pork shoulder, or else
you're pulling our leg....