Salesforce Interview Questions & Answers Book is now available!

Grab Now
 $ 19

Apex Test Fest

Writing Apex test classes is never going to be a frustrating or time taking action item after you finish this course.

  • 40 episodes
  • 5 hours
  • 9 modules
Apex Test Fest

What's inside

40 Episodes · 5 Hours

1Introduction15 episodes · 91 mins
  • Introduction, the usual song and dance!2 mins
  • Why do we have to write test classes?6 mins
  • What should be the thought process before you write the test classes?4 mins
  • Why can we not see data in sandbox and production?4 mins
  • Creating a basic Apex Test Class5 mins
  • Start the code coverage9 mins
  • Test coverage for an Apex Method with params3 mins
  • Writing the Test suite class for Triggers4 mins
  • Testing the business logic using negation testing9 mins
  • Doing the code coverage for an Apex Trigger7 mins
  • How to do the code coverage for a private Apex method?9 mins
  • @TestSetup in Test Classes10 mins
  • How to create and work with Test Factory Design Pattern11 mins
  • What is (SeeAllData = true) and when to use it?4 mins
  • What is Test.isRunningTest() and how to use it for our advantage?4 mins
2Doing the code coverage when we hit Exceptions3 episodes · 22 mins
  • Code coverage for a method having Callout and DML in the same transaction12 mins
  • Code coverage for a method throwing mixed DML exception 1/26 mins
  • Code coverage for a method throwing mixed DML exception 2/24 mins
3Code Coverage for Asynchronous Apex6 episodes · 44 mins
  • Doing the code coverage for Batch Apex Class11 mins
  • Doing the code coverage for Schedule Apex Class7 mins
  • Doing the code coverage for Queueable method7 mins
  • Doing the code coverage for Future method4 mins
  • Code coverage for chained Batch Apex Classes9 mins
  • Another advantage of startTest() and stopTest()6 mins
4Doing the code coverage by respecting the User context2 episodes · 26 mins
  • System.runAs() in apex 1/210 mins
  • System.runAs() in apex 2/216 mins
5Assert Class and Assert Statements4 episodes · 25 mins
  • Getting your hands dirty with System.Assert statements8 mins
  • Assert class in Apex8 mins
  • How can we use isInsatnceOfType() in Assert class?6 mins
  • A quick hack - How can Assert statements be helpful in debugging3 mins
6Doing the code coverage for Apex Classes making REST API Callout1 episode · 16 mins
  • Test class coverage for callouts made in Apex16 mins
7Doing the code coverage for REST API Apex Classes5 episodes · 39 mins
  • Doing code coverage for custom REST API created using Apex 1/413 mins
  • Doing code coverage for custom REST API created using Apex 2/47 mins
  • Doing code coverage for custom REST API created using Apex 3/46 mins
  • Doing the negation testing for the previous Alex Class 4/48 mins
  • Why is RestResponse instantiated in test method?5 mins
8Doing the code coverage for SOAP API Classes3 episodes · 29 mins
  • Doing the code coverage for Apex Classes generated from WSDL 1/33 mins
  • Doing the code coverage for Apex Classes generated from WSDL 2/312 mins
  • Doing the code coverage for Apex Classes generated from WSDL 3/314 mins
9Others1 episode · 7 mins
  • Let’s have a look at all ways to mass run test classes 7 mins

Keep me in the loop!

Email me when a new episode is published (promise, I will not spam you)

You're signing up to receive emails from Salesforce Casts