function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kevin LanguedocKevin Languedoc 

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?
bob_buzzardbob_buzzard
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.