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

506 stars
10 watching
26 forks
Language: Ruby
last commit: over 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 25
brightify/cuckoo A tool for creating mocks of Swift objects without boilerplate code. 1,674
asomers/mockall A mock object library for unit testing Rust software 1,549
matryer/moq A tool that generates mock implementations of interfaces for testing and code generation. 2,009
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. 15
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,348
westonganger/active_snapshot A library that provides simplified snapshots and restoration for ActiveRecord models and associations with transparent white-box implementation. 130
dcramer/mock-django A simple library for mocking Django's ORM behavior. 223
soc221b/zod-schema-faker A tool for generating mock data from Zod schemas. 20
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,231
franckverrot/activevalidators Provides a collection of reusable validation rules for Ruby on Rails models 306
grosser/autotest Standalone autotest for testing Ruby applications without ZenTest 121