Project Details
  (1.0 Review)
SmartFactory for Force.com

Project Owner: Matthew Botos

Created: May 16 2011

Description

SmartFactory aims to provide test data objects with all required fields and object lookups pre-populated. The idea came from writing unit tests for unfamiliar orgs, where setting up test data might mean digging through a large hierarchy of lookup relationships and required fields. Instead, SmartFactory uses the Describe metadata to populate all fields with data of the right type. It currently handles string and lookup fields. For lookup fields, it creates an appropriate object and then uses that object's ID.

Development Team
The project owner is currently the only member of the development team.
Reviews - Showing 3 of 3
4 stars
(by john caplice on Tue Nov 15 13:02:19 GMT 2011)
Very nice library to create test data, works like a charm. Has a few limitations, but nothing that cannot be worked-around easily.

4 stars
(by john caplice on Tue Nov 15 13:02:01 GMT 2011)
Very nice library to create test data, works like a charm. Has a few limitations, but nothing that cannot be worked-around easily.

4 stars
(by john caplice on Tue Nov 15 13:01:55 GMT 2011)
Very nice library to create test data, works like a charm. Has a few limitations, but nothing that cannot be worked-around easily.


Tags
factory  |  data generation  |  test data  |  tool  |  utility  |  testing  |  data  |  apex