benahm/TestDataFactory
The ultimate Apex Test Data Factory 🏭
15 Releases
Latest: 4y ago
V3.2Latest
📋 Changes
- Allow looping through a List of values, example :
- Updated [Performance 🚀](docs/PERFORMANCE.md) page
- Updated API version to 52.0
V3.1
📋 Changes
- Update API to V51.0
- Regenerate a new version of the unlocked package & release it, so it can be installed in production
V3.0
📋 Changes
- Rename class from TDF to TestDataFactory
- Upgrade API version to 48.0
- Use [deferred getDescribe](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Schema_SObjectType.htm)
- Update project to Salesforce DX structure
- Publish the [Test Data Factory Apex Dox](http://test-data-factory.surge.sh)
V2.6
📋 Changes
- Publish TDF as an unlocked package
- Upgrade API version to 47.0
V2.5
📋 Changes
- Auto-detect if person account is enabled
- Publish the TDF as managed package
- Bug fix
V2.1
📋 Changes
- Upgrade the classes API version to 43.0
- Minor fixes
V2.0
📋 Changes
- Code refactoring & Adding Comments
- Refactoring of the support for Orgs with Person Account enabled
- Support for providing a list of values in the map of value when creating a list of sObjects
- Support for providing a sub map of values in the map of values when creating a single or a list of sObjects
V1.7
📋 Changes
- Code refactoring & adding comments
V1.6
📋 Changes
- Code refactoring & adding comments
- Changing ```DefaultValueProvider``` from abstract to virtual
- Add support of ```TDF.DEFAULT_VALUE``` for reference fields
- Add caching for getting fields map
- Bugfix
V1.5
📋 Changes
- New implementation of the support for orgs with Person Account enabled
- Review the get{Type}DefaultValue methods
- Bug fixes
V1.4
📋 Changes
- Code refactoring
- Bug fixes
V1.3
📋 Changes
- CPU Usage improvement ([view performance tests](https://github.com/benahm/TDF/blob/master/docs/PERFORMANCE.md))
- Code refactoring
- Bug fixes
V1.2
📋 Changes
- Ability to auto-generate default values for non required fields
- Code refactoring
- Bug fixes
V1.1
📋 Changes
- Support for orgs with person account enabled
- More error handling
- Bug fixes
V1.0
📋 Changes
- Auto-fill all required fields
- Option insert all sObjects
- Option generate a list of sObjects
- Ignore [sObjects that doesn't support DML Operations](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_non_dml_objects.htm)
- Exceptions handling
- Tests 98%
