Activity Forums Salesforce® Discussions How to cover PageReference from test class in Apex in Salesforce?

  • Deepak

    Member
    September 24, 2020 at 5:33 pm

    Create TestFactory class with @isTest annotation to exclude from organization code size limit . @testSetup to create test records once in a method and use in every test method in the test class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos