You need to sign in to do that
Don't have an account?
Umesh BP 38
Controller test class?
How to write Test class for std controller and custom controller,wrapper class?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Salesforce provides easy examples and descriptive documentation for testing out Controllers(Custom Controllers and Extension controllers).
You will find it helpful:https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_error_handling.htm
If you are using a Standard Controller only, you wont need a test class as no extension is present.
Also for Wrapper class, you just need to call the constructor of wrapper class, and the same will be covered.
Hope this was helpful.
Veenesh