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.
Total
Ranking: 8,930 of 183,477
Downloads: 311,352
Daily
Ranking: 41,916 of 183,470
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
142,640 | 3,706 | csv_loader |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,456,134,847 | bundler |
7 | 1,004,546,968 | activesupport |
10 | 969,073,546 | rake |
25 | 825,073,950 | rspec |
58 | 496,263,048 | ruby-progressbar |
62 | 484,887,430 | rubocop |
272 | 136,271,551 | colorize |
359 | 102,778,113 | virtus |
22,379 | 60,211 | dissociated_introspection |
26,286 | 47,875 | active_record_schema_scrapper |
42,312 | 25,372 | reverse_parameters |
Owners
# | Gravatar | Handle |
---|---|---|
1 | zeisler |