active_mocker

Mocker

A tool that generates mock implementations of Ruby classes based on their Active Record models.

Generate mocks from ActiveRecord models for unit tests that run fast because they don’t need to load Rails or a database.

GitHub

508 stars
10 watching
29 forks
Language: Ruby
last commit: about 5 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
zlx/api-mock-server A tool to simulate and mock APIs during development and testing 26
brightify/cuckoo A tool for creating mocks of Swift objects without boilerplate code. 1,672
asomers/mockall A tool for creating mock objects to simplify testing of complex systems 1,534
matryer/moq A tool that generates mock implementations of interfaces for testing and code generation. 1,995
vincent-pradeilles/automocker A framework to create easily mockable instances of data types using Swift's type system 43
sinhashubham95/moxy An application server that allows creating mock endpoints and proxies requests to external services. 14
mocktools/ruby-smtp-mock A tool for mocking SMTP servers in test environments. 67
dashbitco/mox A library for defining concurrent mocks in Elixir to simplify testing of concurrent applications 1,345
westonganger/active_snapshot A library that provides simplified snapshots and restoration for ActiveRecord models and associations with transparent white-box implementation. 126
dcramer/mock-django A simple library for mocking Django's ORM behavior. 224
soc221b/zod-schema-faker A tool for generating mock data from Zod schemas. 15
jimweirich/flexmock A flexible mock object library for unit testing Ruby applications 94
freerange/mocha A Ruby library for mocking and stubbing in unit tests 1,225
franckverrot/activevalidators Provides a collection of reusable validation rules for Ruby on Rails models 306
grosser/autotest A tool that automates testing of Ruby projects by running tests as soon as a file is saved. 121