Activity Forums Salesforce® Discussions Negative Tests in Test class in Salesforce?

  • Anjali

    Member
    April 17, 2020 at 1:15 pm

    Negative testing demonstrates that your code properly handles invalid data and exceptions.

  • Ayush

    Member
    April 20, 2020 at 11:11 am

    Negative testing demonstrates that your code properly handles invalid data.

  • Marziya

    Member
    April 20, 2020 at 11:23 am

    Hiii Anuj,
    The Pattern. Positive testing tests your code with valid inputs to demonstrate what happens when your code functions properly. Negative testing demonstrates that your code properly handles invalid data and exceptions.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos