Best Practices To Write Test Classes In Salesforce | Salesforce | forceGalaxy

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ต.ค. 2024
  • Looking For Best Salesforce Trainings ? - forcegalaxy.info
    Want To Schedule Interview ? - topmate.io/for...
    #salesforceinterview
    #trailhead #forcegalaxy #salesforceKnowledge
    #testClasses
    Do check out the playlist on
    1. Salesforce Lightning
    • Lightning Experience I...
    2. Salesforce
    • Career In Salesforce |...
    3. Triggers in salesforce
    • Triggers in salesforce...
    4. Admin
    • Salesforce Objects | T...
    Do share this video with your FRIENDS, SCHOOL NETWORK, IT NETWORK, AND SALESFORCE NETWORK.
    Let's make Salesforce easy for everyone.
    Quick Catch :
    Insta - ...
    Twitter - ka...
    Linkedin - / kanika-chauhan-b130a0100
    Email - kanika.chauhan205@gmail.com

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

  • @rohitdhumal4
    @rohitdhumal4 2 ปีที่แล้ว +1

    Test class is used for the check the quality of code before deployment in production org

  • @manishshaw2393
    @manishshaw2393 ปีที่แล้ว

    Thanks for the video.I have two doubts:-
    1)as per best practices, seeAllData= true , shud not be used in testSetup annotated method of Test class , then why Salesforce has given such functionality or simply whats logical use case of using seeAllData= true? is there any ?
    2)How system.runas help with mixed DML exception?
    Thanks in advance ❤️

    • @maheshbabu-te8sk
      @maheshbabu-te8sk ปีที่แล้ว

      seeall data is true when u want to use org data,for testing purpose,but why its not recommeneded is all salesforce orgs sandboxes hv same records it may vary so ,
      2nd mixed dml system.runAs() in this u need to pass user i mean because of setup and nonsetup object mixed dml occurs

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

    Thanks for uploadung

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

      How to write also will be uploaded soon.

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

      @@forceGalaxy Thanks for your contribution.

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

    Mam salesforce ke liye konsi best book hai

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

      The best way to learn Salesforce is trailhead. Sign up and start learning, exploring... you will find this best 🙂.

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

    good evening mam I'm student of MBA, I want to enter in saleforce, so mam how I will enter or start saleforce, please reward mam as soon as possible

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

      Hi
      You start with trailhead this is the best platform to start get started with Salesforce.
      You can start your journey from trailhead and get the basic idea and side by side join journey2salesforce, quiz , contest all you can find on trailhead itself.

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

      @@forceGalaxycan I start directly in like saleforce marketing cloud, without admin

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

    Do you mean teat cases

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

      Test cases are different which tester usually creates while performing testing.

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

    Pls reply

  • @prashantmohadikar7310
    @prashantmohadikar7310 7 หลายเดือนก่อน

    number do