You need to sign in to do that
Don't have an account?
svidyan
Testing Apex code
Hi,
I'm new to Apex development. I understand that the Apex code must be accompanied by test cases.
My question is when I insert data into the Force.com database for the testcases, does this data reside along with the production data?
How do I make the database data just available for test cases only? Do I have to remove the data explicitly after the tests have executed?
Thanks
Svidya
The test data will be added to the production data during your test, but it won't exist after your test has completed as the entire transaction is rolled back at the end.