Skip navigation.

CMock

CMock

CMock is an expectation-oriented mock object library for unit/integration testing of Ruby code. Expectations are strict and ordered, even across different mock objects. Syntax is simple and direct. CMock works stand-alone or as a Rails plugin.