Project

mocktail

0.09
No release in over a year
Take your objects, and make them a double
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.5.9204
 Project Readme

Mocktail

Mocktail is a mocking library for Ruby built with modern Ruby 3 APIs and the only one with first-class support for type checking with Sorbet. Mocktail was created to accelerate test-driven development in Ruby and is designed to prevent common problems that lead to brittle and confusing tests.

Your first choice is a consequential one: how do you want your Mocktail?

Try Mocktail without type checking Try Mocktail with Sorbet type checking

You can also skip all the fun stuff and dive straight into the full API documentation.