## 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.
https://github.com/godfat/muack/blob/master/README.md