Activity Forums Salesforce® Discussions System.assertEqueals are giving wrong expectation from testing class

  • System.assertEqueals are giving wrong expectation from testing class

    Posted by Chulhee on February 23, 2021 at 6:35 pm

    I have a few of System.assertEquals in my testing class to test my new function that basically returns true or false. For some reason, some of asserEquals returns wrong expectation from testing class. if I copy those asserEquals and run them from Anonymous windows, they return correct expectations. Any idea why the testing class behaves that way?

    Chulhee replied 3 years, 2 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics