Salesforce CRM Online Training | Best Salesforce CRM Training Institute - PowerPoint PPT Presentation

About This Presentation
Title:

Salesforce CRM Online Training | Best Salesforce CRM Training Institute

Description:

Visualpath stands out as the premier educational institute providing online Training for Salesforce CRM in Hyderabad. Our curriculum showcases live interactive sessions led by experts of the field, complemented by hands-on projects that amplify experiential learning. Contact us at +91-9989971070. Visit: – PowerPoint PPT presentation

Number of Views:1
Slides: 10
Provided by: teja12
Category:
Tags:

less

Transcript and Presenter's Notes

Title: Salesforce CRM Online Training | Best Salesforce CRM Training Institute


1
Salesforce CRM Online Training
91-9989971070
www.visualpath.in
2
  • Apex testing is an integral part of developing
    applications on the Salesforce platform. Apex is
    a proprietary programming language developed by
    Salesforce specifically for building applications
    on the Salesforce ecosystem. Apex testing
    involves writing and executing test methods to
    ensure the quality and functionality of your Apex
    code.

www.visualpath.in
3
Test Classes and Test Methods
  • In Apex, test methods are written within test
    classes. These methods are used to test various
    aspects of your Apex code, such as triggers,
    classes, and extensions.
  • Test classes are typically named with the suffix
    Test.

www.visualpath.in
4
Annotations
  • The _at_isTest annotation is used to identify a
    class or method as a test class or test method.
  • Test methods should be annotated with _at_isTest to
    indicate that they are meant for testing.
  • Test Data
  • You need to create test data in your test methods
    to simulate real-world scenarios and ensure your
    code works correctly.

www.visualpath.in
5
  • Use the Test.loadData() method to insert test
    data from CSV files or create data directly in
    your test methods.
  • Assert Statements
  • Assertions are used to verify that the outcomes
    of your code match your expectations.

www.visualpath.in
6
Limitations and Considerations
  • Test classes don't count towards the governor
    limits of your Salesforce org.
  • Each test class runs in a separate context, and
    static variables are reset between different test
    methods.
  • Test classes have a default limit of 10,000 Apex
    statements and a maximum execution time of 60
    seconds.

www.visualpath.in
7
Code Coverage
  • Salesforce requires a certain percentage of code
    coverage through test methods before deploying
    code to production.
  • For example, you might need to ensure that at
    least 75 of your Apex code is covered by tests

www.visualpath.in
8
Visualpath IT Solutions
Salesforce CRM Online Training Address-
Flat no 205, 2nd Floor,
Nilgiri Block, Aditya Enclave,
Ameerpet, Hyderabad-16 Ph No
91-9989971070 Visit www.visualpath.in
9
THANK YOU
Visit www.visualpath.in
Write a Comment
User Comments (0)
About PowerShow.com