Deep Dive into Test Classes (Salesforce.com)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 25

  • @ndwangu2
    @ndwangu2 5 ปีที่แล้ว +3

    Excellent, you are a very good teacher, keep it up sir

  • @deepudevi8454
    @deepudevi8454 5 ปีที่แล้ว

    the examples used are very good and real time scenarios,thank you

  • @ramangandhi4221
    @ramangandhi4221 4 ปีที่แล้ว +1

    Sir your videos are excellent, one request please make video how to integrate salesforce with linkedin

  • @arunkothuri2967
    @arunkothuri2967 4 ปีที่แล้ว +1

    Thanks sir.. superbly explained

  • @HumanUniverse9
    @HumanUniverse9 5 ปีที่แล้ว

    well said,,, Please upload more on different concepts..

  • @maddupavan7193
    @maddupavan7193 5 ปีที่แล้ว +1

    Simply superb

  • @ImmanualSuprith
    @ImmanualSuprith 3 ปีที่แล้ว +1

    Thank you for this , very understandable.
    But one thing , This was uploaded in 2018 , there has been many changes in testmethods in latest releases . Requesting you to upload a video including latest features.
    Thank you

    • @salesforcetechbook
      @salesforcetechbook  3 ปีที่แล้ว +1

      Hi Supriya,
      Even there is any new features came but base is same.It helps you to explore any new change on test class.
      Soon I try to add more if there is any.

  • @ranjitkumar-bu7qh
    @ranjitkumar-bu7qh 4 ปีที่แล้ว +1

    You are pro sir. Thanks for a wonderful information.

  • @azharchaudhary952
    @azharchaudhary952 5 ปีที่แล้ว

    THANKYOU FOR THIS USEFUL CONTENT..

  • @krishnendu_chakraborty
    @krishnendu_chakraborty 4 ปีที่แล้ว +1

    Hi Balaji, Can you let me know what is the difference between testSetup and testDataFactory? It seems that both are used to create dummy data for testing.

    • @salesforcetechbook
      @salesforcetechbook  4 ปีที่แล้ว +1

      Hi Krishna,
      testSetup is an annotation Use test setup methods (methods that are annotated with @testSetup) to create test records once and then access them in every test method in the test class and it is limited to your test class where you defined testSetup method.Coming to testdatafactory is just a test class which contains reusable methods can be invoked in any other test classes in application for data preparation.

    • @krishnendu_chakraborty
      @krishnendu_chakraborty 4 ปีที่แล้ว

      @@salesforcetechbook ok ok. Got it. Thank you

  • @prashanthkumarenagandula9988
    @prashanthkumarenagandula9988 5 ปีที่แล้ว +1

    it helped alot! thank you

  • @naveenreddy2223
    @naveenreddy2223 3 ปีที่แล้ว +1

    21 line is typical for beginners

  • @RahulRaj-po1ml
    @RahulRaj-po1ml 4 ปีที่แล้ว

    How to do test coverage if I am writing code in visual Studio code

    • @salesforcetechbook
      @salesforcetechbook  4 ปีที่แล้ว +1

      Hi Rahul,
      It will be saved into Salesforce you can run in Salesforce or you have option to run test class in vs code as well

  • @_DheerajIPPILI
    @_DheerajIPPILI 2 ปีที่แล้ว

    I am only getting 40% codecoverage.

  • @hemakiran5968
    @hemakiran5968 2 ปีที่แล้ว

    Can you please share all the coding notes.

    • @salesforcetechbook
      @salesforcetechbook  2 ปีที่แล้ว

      github.com/salesforcetechbook/ExampleCodesofSessions

  • @swathikumar3074
    @swathikumar3074 4 ปีที่แล้ว

    can you please make an videos on community clouds

  • @SandeepRahoolPV
    @SandeepRahoolPV 4 ปีที่แล้ว

    sir can we write 2 @testsetup methods

    • @salesforcetechbook
      @salesforcetechbook  4 ปีที่แล้ว

      No you can write only one @testSetup method. Please find the below link for more information from salesforce.com.
      developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_testsetup_using.htm