• Ashwani Kumar 163
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi,
This is regarding the code coverage for the class in which we have used the external object. in our  class we are fetching the data from the External object.We have written a test class  in such away that, we skipped (using  Test.isRunningtest() ) the  query  which is fetching the data from the external object. But unfortunately we are getting code coverage only 50%. at least we should  improve the code coverge to 80%  for that class.
So please  suggest us how to proceed further.


Kind Regards,
Siva.
Hi Friends,

Does anyone have sample test class for apex class which has soql query for External Objects? Kindly share.

Thanks,
Loges
  • February 25, 2015
  • Like
  • 0