You need to sign in to do that
Don't have an account?
Sabrent
Test Data Factory
Can someone please explain me the concept of Test Data Factory for creating unit test classes or point me to a documnetation/ reference material where I can learn about Test Data Factory class.
Thanks,
All Answers
Hi,
When you create an Apex Controller, Class or Trigger have an automatic unit test generator that automatically creates all the unit tests for you. This would assist creating meaningful unit tests with 75% code coverage for your Apex and help speed up the development cycle.
for more detail follow the below link:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_best_practices.htm
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Thanks for the response.
The link is a best practice link, is there a document that explains or has an example of how to write a test factory class?
thak u so much rov
https://trailhead.salesforce.com/content/learn/modules/apex_testing/apex_testing_data?trailmix_creator_id=strailhead&trailmix_id=dreamforce-18-platform-developer-1-bootcamp
You can also try this link.
https://trailhead.salesforce.com/content/learn/modules/apex_testing/apex_testing_data