From the course: Introduction to Test Classes in Salesforce
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Advanced testing topics - Salesforce Tutorial
From the course: Introduction to Test Classes in Salesforce
Advanced testing topics
- [Instructor] We're going to look at some advanced testing topics and in particular how to test some of the more advanced code that you'll have in your production. We're going to look at Batch Apex, what needs to be tested, how we set it up to test and a few gotchas that go along with Batch Apex testing. We'll look at Mock frameworks so when we have call outs to various web services how do we actually test those. We'll look at testing @Future and how that can be a challenge, especially if the code that runs in the Future is something that you need the results in order to complete your test. And then we'll look at how to invoke Visualforce pages.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.