Quantcast
Channel: (!Test.isRunningTest())-How do we write test class to cover this? - Salesforce Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Eric for (!Test.isRunningTest())-How do we write test class to...

Any chance you did a search first? Generated code is saved as an Apex class containing the methods you can invoke for calling the Web service. To deploy or package this Apex class and other...

View Article



Image may be NSFW.
Clik here to view.

(!Test.isRunningTest())-How do we write test class to cover this?

I have written a test class for my apex class. I am able to cover all portion except this how do i cover this

View Article
Browsing all 2 articles
Browse latest View live




Latest Images