You need to sign in to do that
Don't have an account?

Case VisualForce Page with standardController
I have created a VF page in Force/Eclipse using the case standardController. when I try to save to server I get the following error messages:
Average test coverage across all Apex Classes and Triggers is 59%, at least 75% test coverage is required.
System.AssertException: Assertion Failed
Since I using the standard Case controller, how do it add test coverage to the VF page?
Average test coverage across all Apex Classes and Triggers is 59%, at least 75% test coverage is required.
System.AssertException: Assertion Failed
Since I using the standard Case controller, how do it add test coverage to the VF page?
When you are saving to the server, as this is a production system that is considered to be a deploy, so all tests are executed. The message implies that your unit test coverage is only 59% in production. This may be because unit tests are failing or you have tests that rely on certain records being available, but you'll need to fix the issues before you can deploy.