You need to sign in to do that
Don't have an account?
Vikram Singh 157
Hi ! I have doubt in test classes ...
as we know the reords we are going to insert in test class are dummy records and not gonna to insert in our org , but is it required to test on actual
records while writing test class.
records while writing test class.
Regarding your query about actual data .... dummy data is nothing but a replica of actual record which you create to test whether the particular piece of code is working fine or not.
So you need not worry regarding this.
Best regards
David Hales(1058)
All Answers
No need to test on actual record at all. But whenever creating test record, you make sure you populate all the required field in your test record whatever you have used in your actual class. It means we have to create a test record exactly same as real record.
Regards,
Pawan Kumar
Regarding your query about actual data .... dummy data is nothing but a replica of actual record which you create to test whether the particular piece of code is working fine or not.
So you need not worry regarding this.
Best regards
David Hales(1058)