Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/testdouble/mocktail

🥃 Take your Ruby, and make it a double!
https://github.com/testdouble/mocktail

mocking ruby test-doubles testing

Last synced: about 1 month ago
JSON representation

🥃 Take your Ruby, and make it a double!

Awesome Lists containing this 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](https://sorbet.org). 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](/docs/support/api.md).