All Projects → benahm → Testdatafactory

benahm / Testdatafactory

Licence: apache-2.0
The ultimate Apex Test Data Factory 🏭

Projects that are alternatives of or similar to Testdatafactory

Sfdc Trigger Framework
A minimal trigger framework for your Salesforce Apex Triggers
Stars: ✭ 527 (+387.96%)
Mutual labels:  apex, salesforce
Vim Force.com
Vim plugin for force.com
Stars: ✭ 98 (-9.26%)
Mutual labels:  apex, salesforce
Salesforcedx Vscode
Salesforce Extensions for VS Code
Stars: ✭ 653 (+504.63%)
Mutual labels:  apex, salesforce
Query.apex
A dynamic SOQL and SOSL query builder on Salesforce.com platform
Stars: ✭ 78 (-27.78%)
Mutual labels:  apex, salesforce
Rflib
Salesforce open source library with logging framework, trigger framework, feature switches, and advanced monitoring capabilities
Stars: ✭ 69 (-36.11%)
Mutual labels:  apex, salesforce
Apex Recipes
A library of concise, meaningful examples of Apex code for common use cases following best practices.
Stars: ✭ 307 (+184.26%)
Mutual labels:  apex, salesforce
Affiliationsecurity
HEDA Affiliation-Based Security for Salesforce
Stars: ✭ 8 (-92.59%)
Mutual labels:  apex, salesforce
json2apex
Generate strongly typed apex code from a json structure.
Stars: ✭ 121 (+12.04%)
Mutual labels:  salesforce, apex
Lwc Recipes
A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform
Stars: ✭ 1,147 (+962.04%)
Mutual labels:  apex, salesforce
Purealoe
Salesforce Sample App part of the sample gallery. Agriculture and retail use case. Get inspired and learn best practices.
Stars: ✭ 65 (-39.81%)
Mutual labels:  apex, salesforce
Apextestkit
A way to simplify your Salesforce data creation.
Stars: ✭ 80 (-25.93%)
Mutual labels:  apex, salesforce
Awesome Low Code
Awesome Low-Code Application Platforms | 全球低代码平台开发资源大全
Stars: ✭ 90 (-16.67%)
Mutual labels:  apex, salesforce
Ebikes Lwc
Sample application for Lightning Web Components and Communities on Salesforce Platform. Part of the sample gallery. Retail use case. Get inspired and learn best practices.
Stars: ✭ 299 (+176.85%)
Mutual labels:  apex, salesforce
Npsp
The current version of the Salesforce.org Nonprofit Success Pack
Stars: ✭ 487 (+350.93%)
Mutual labels:  apex, salesforce
Lightningflowcomponents
A collection of unofficial Lightning Components that can be used to enhance Salesforce Lightning Flow and Lightning Pages.
Stars: ✭ 252 (+133.33%)
Mutual labels:  apex, salesforce
Squery
Salesforce SOQL query builder
Stars: ✭ 16 (-85.19%)
Mutual labels:  apex, salesforce
Script.apex
Evaluate Javascript expressions in Apex
Stars: ✭ 18 (-83.33%)
Mutual labels:  salesforce, apex
amoss
Amoss - Apex Mock Objects, Spies and Stubs - A Simple Mocking framework for Apex (Salesforce)
Stars: ✭ 55 (-49.07%)
Mutual labels:  salesforce, apex
Purealoe Lwc
Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Agriculture and retail use case. Get inspired and learn best practices.
Stars: ✭ 43 (-60.19%)
Mutual labels:  apex, salesforce
Sfdc Convert Attachments To Chatter Files
📎 Easily migrate your Attachments to Salesforce Files.
Stars: ✭ 72 (-33.33%)
Mutual labels:  apex, salesforce

Apex Test Data Factory

“ The ultimate Apex Test Data Factory ” 🏭 👌

Generate & insert an sObject with all the required fields & relationships auto-filled

Contact con = (Contact)TestDataFactory.createSObject('Contact');

Inserted data*:

Contact:{Id='0036E00000R4nG0QAJ', Lastname:'test0'}

Assign values to fields of the main sObject and the related sObjects

Contact con = (Contact)TestDataFactory.createSObject('Contact', new Map<String,Object>{
  'Email' => '[email protected]',
  'Account.Description' => 'Text for the Description field on the Account'
});

Inserted data*:

Contact:{Id='0036E00000R55chQAB', Lastname:'test0', Email:'[email protected]', AccountId='0016E00000Z6bC7QAJ'}
Account:{Id='0016E00000Z6bC7QAJ', Name='test0', Description='Text for the Description field on the Account'}

* in a vanilla org

Install :

Click on the package image to install the TestDataFactory Unlocked Package 🔓📦

More :

Releases

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].