Skip to content
← All work

Creator · 2016–2021

DataFactory test generator

A Salesforce package with an LWC that generates Apex test data factory methods from real record data, so tests are faster to write and closer to production.

  • Apex
  • LWC
  • Unit testing
  • Unmanaged package

Writing test data setup is the slowest part of Apex testing. This tool reads real records and generates DataFactory methods for them, and ships as an installable package with a Lightning Web Component front end.

Related writing

1 min

ADD LWC TO GENERATE DATAFACTORY PACKAGE.

This post continues last post about Generate Data Factory We have just added a lightning web component to the package for your convenience. You just need to add the Record Page. Now, you can click Generate This Record -> Copy To Clipboard…

2 min

GENERATE DATA FACTORY METHODS

Generate test data in test classes sometimes consume a lot of time; therefore, developers tend to use uninformative data in test classes like ‘test test’, ‘test@test.test’. To generate the real data in the test class not only to make the…

Next project Zalo OA AI Agent