+ Start a Discussion
sayirbsayirb 

"Test coverage is required" error for an Apex classg generated using WSDL

Hi,

   I have created a Apex class from an External Web service using WSDL. 

 

While deploying this class  to server I am getting an error :

"Average test coverage across all Apex Classes and Triggers is 60%, at least 75% test coverage is required".


As per Apex document  I had written a test function. But I am still getting this error. 

 

 I am new to salesforce integration, please help me to deploy this Apex class to Server.

 

Thanks

sadasiva07sadasiva07

all the trigge must have  min of 75% of test coverage individually i.e., excluding the test coverage for calsses.