# The devel/ruby-mocha,ruby18 port

## ruby-mocha-0.13.3p0 – Ruby library for mocking and stubbing

## Description

    Mocha is a library for mocking and stubbing using a syntax like that of
    JMock, and SchMock. Most commonly Mocha is used in conjunction with
    Test::Unit, but it can be used in other contexts.

    One of its main advantages is that it allows you to mock and stub methods
    on real (non-mock) classes and instances. You can for example stub
    ActiveRecord instance methods like create, save, destroy and even class
    methods like find to avoid hitting the database in unit tests.

    Mocha provides a unified, simple and readable syntax for both traditional
    mocking and for mocking with real objects.

WWW: http://mocha.rubyforge.org/

Categories:
  devel lang/ruby

## Library dependencies

## Build dependencies

- STEM->=1.3.7p0:devel/ruby-gems
- STEM->=1.8.10:devel/ruby-gems
- devel/ruby-metaclass,ruby18
- devel/ruby-rake
- lang/ruby/1.8
- lang/ruby/1.8

## Run dependencies

- STEM->=1.3.7p0:devel/ruby-gems
- devel/ruby-metaclass,ruby18
- devel/ruby-rake
- lang/ruby/1.8