Sign in Sign up
rubygems

active_mocker

Creates stub classes from any ActiveRecord model. By using stubs in your tests you don't need to load Rails or the database, sometimes resulting in a 10x speed improvement. ActiveMocker analyzes the methods and database columns to generate a Ruby class file. The stub file can be run standalone and comes included with many useful parts of ActiveRecord. Stubbed out methods contain their original argument signatures or ActiveMocker friendly code can be brought over in its entirety. Mocks are regenerated when the schema is modified so your mocks won't go stale, preventing the case where your unit tests pass but production code fails.

Activity

Latest release
7y ago
Total releases
102
Cadence
~9 days
Last 12 months
0

Details

License
MIT
First release
Apr 01, 2014
Releases
Version Released
2.6.2 patch
2.6.1.beta pre
2.6.1.beta2 pre
2.6.0 minor
2.5.4 patch
2.5.3 patch
2.5.2 patch
2.5.1 patch
2.5.1.pre pre
2.5.0 minor
2.4.4 patch
2.4.3 patch
2.4.2 patch
2.4.1 patch
2.4.0 minor
2.4.0.pre5 pre
2.3.4 patch
2.4.0.pre4 pre
2.4.0.pre3 pre
2.4.0.pre2 pre
2.3.3 patch
2.4.0.pre1 pre
2.3.2 patch
2.3.1 patch
2.3.0 minor
2.2.5 patch
2.2.4 patch
2.2.3 patch
2.2.2 patch
2.2.1 patch
2.2.0 minor
2.1.3 patch
2.1.2 patch
2.1.1 patch
2.1.0 minor
2.0.0.rc1 pre
2.0.0 major
2.0.0.pre1 pre
2.0.0.beta1 pre
1.8.4 patch
1.8.3 patch
1.8.2 patch
1.8.1 patch
1.8 minor
1.7.3 patch
1.7.2 patch
1.7.1 patch
1.7.1rc pre
1.7 minor
1.7rc2 pre
1–50 of 102