GitPedia
benahm

benahm/TestDataFactory

The ultimate Apex Test Data Factory 🏭

15 Releases
Latest: 4y ago
V3.2Latest
benahmbenahm·4y ago·August 30, 2021
GitHub

📋 Changes

  • Allow looping through a List of values, example :
  • Updated [Performance 🚀](docs/PERFORMANCE.md) page
  • Updated API version to 52.0
V3.1
benahmbenahm·5y ago·May 16, 2021
GitHub

📋 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
benahmbenahm·6y ago·February 27, 2020
GitHub

📋 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
benahmbenahm·6y ago·November 2, 2019
GitHub

📋 Changes

  • Publish TDF as an unlocked package
  • Upgrade API version to 47.0
V2.5
benahmbenahm·7y ago·November 12, 2018
GitHub

📋 Changes

  • Auto-detect if person account is enabled
  • Publish the TDF as managed package
  • Bug fix
V2.1
benahmbenahm·7y ago·July 23, 2018
GitHub

📋 Changes

  • Upgrade the classes API version to 43.0
  • Minor fixes
V2.0
benahmbenahm·8y ago·April 13, 2018
GitHub

📋 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
benahmbenahm·8y ago·January 27, 2018
GitHub

📋 Changes

  • Code refactoring & adding comments
V1.6
benahmbenahm·8y ago·January 18, 2018
GitHub

📋 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
benahmbenahm·8y ago·December 11, 2017
GitHub

📋 Changes

  • New implementation of the support for orgs with Person Account enabled
  • Review the get{Type}DefaultValue methods
  • Bug fixes
V1.4
benahmbenahm·8y ago·December 5, 2017
GitHub

📋 Changes

  • Code refactoring
  • Bug fixes
V1.3
benahmbenahm·8y ago·December 2, 2017
GitHub

📋 Changes

  • CPU Usage improvement ([view performance tests](https://github.com/benahm/TDF/blob/master/docs/PERFORMANCE.md))
  • Code refactoring
  • Bug fixes
V1.2
benahmbenahm·8y ago·November 19, 2017
GitHub

📋 Changes

  • Ability to auto-generate default values for non required fields
  • Code refactoring
  • Bug fixes
V1.1
benahmbenahm·8y ago·November 18, 2017
GitHub

📋 Changes

  • Support for orgs with person account enabled
  • More error handling
  • Bug fixes
V1.0
benahmbenahm·8y ago·November 15, 2017
GitHub

📋 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%