Test Classes and Best Practices

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 9

  • @satyaEk
    @satyaEk 8 месяцев назад +2

    I didn't see anything about assert methods.
    In last video also which was about trigger framework, I saw for loop inside for loop and same logic was getting executed two times while inserting and updating (same speaker).
    I love this channel but i was not expecting this from someone who is a SENIOR Salesforce developer.

  • @SalesforceUSA
    @SalesforceUSA 8 месяцев назад

    It's a very good video, Excellent

  • @MrUdhayk
    @MrUdhayk 8 месяцев назад +2

    Nowadays ppl have started writing test class for just coverage and prod deployment rather assertion. Assertion is mentioned in some last corner just as a point with inadequate emphasis. When the code is written itself assertion should be written.

    • @apexhours
      @apexhours  8 месяцев назад

      Learn best practices here www.apexhours.com/apex-test-class-best-practices/

    • @MrUdhayk
      @MrUdhayk 8 месяцев назад

      @@apexhours Nothing was in video. could have been in video so that I could understand. Reading material typically are plenty in net.

  • @abhishekmavani7325
    @abhishekmavani7325 7 месяцев назад

    You shouldn't be using the Developer console, rather you should use the IDE like visual studio code since the Salesforce does not provide the support of Developer console.

  • @nazirsfdc1662
    @nazirsfdc1662 16 дней назад

    If some criteria’s are not tested in test classes what to do??

    • @apexhours
      @apexhours  15 дней назад

      That's a great question! It's a common challenge to achieve complete test coverage,

    • @nazirsfdc1662
      @nazirsfdc1662 15 дней назад

      @ yeah , what is solution