1) To Test for your desired result (POSITIVE) 2) To Test for common errors (NEGATIVE) 3) To Test as the user(s) and profile(s) that will use this functionality
1) To Test for your desired result (POSITIVE) 2) To Test for common errors (NEGATIVE) 3) To Test as the user(s) and profile(s) that will use this functionality
https://techman97.wordpress.com/2013/10/07/why-you-should-use-system-assert/
http://amitsalesforce.blogspot.com/2015/06/salesforce-testing-best-practice.html
1) To Test for your desired result (POSITIVE)
2) To Test for common errors (NEGATIVE)
3) To Test as the user(s) and profile(s) that will use this functionality
Please let us know if this will help u
All Answers
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_system.htm#apex_System_System_assert
Thank you for this.:)
https://techman97.wordpress.com/2013/10/07/why-you-should-use-system-assert/
http://amitsalesforce.blogspot.com/2015/06/salesforce-testing-best-practice.html
1) To Test for your desired result (POSITIVE)
2) To Test for common errors (NEGATIVE)
3) To Test as the user(s) and profile(s) that will use this functionality
Please let us know if this will help u