Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How am I suppose to get enough test coverage if most of my code is doing callouts but test method does not allow callouts??
You can go through these links:
http://wiki.developerforce.com/page/An_Introduction_to_Apex_Code_Test_Methods, read the 'Test Methods and Apex Callouts' section
and a fancier approach:
http://wiki.developerforce.com/index.php?title=Virtual_Callout_Testing
You can go through these links:
http://wiki.developerforce.com/page/An_Introduction_to_Apex_Code_Test_Methods, read the 'Test Methods and Apex Callouts' section
and a fancier approach:
http://wiki.developerforce.com/index.php?title=Virtual_Callout_Testing