You need to sign in to do that
Don't have an account?
Basha sk 16
Apex Test calss contains only test mehods or any non-test also contains?
Hi All,
could anyone help....
Apex Test calss contains only test mehods or non-test methods also contains?
Thanks in Advance,
Basha
could anyone help....
Apex Test calss contains only test mehods or non-test methods also contains?
Thanks in Advance,
Basha
Apex test class can contain any type of methods including testmethod. People usually try to create factory methods for there test data setup & use it across all the test methods.
For more details about test class, go to https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_example.htm
Happy Coding!
Regards,
Amit Shingavi