Automated regression testing
While Apex and Lightning Web Components tests are very much key tools for monitoring regressions in your application, the limitations and scope of the functionality such tests can cover are small by design, since they are unit tests, not integration tests. Thus, they are not particularly suited to performing large data volume or full end-to-end user interface testing.
The preceding pipeline configuration creates only one scratch org with a given configuration. You can, of course, create multiple scratch orgs of different org types and feature configurations to perform different kinds of testing. For example, a scratch org with and without the Multi-Currency feature enabled.
Here are some considerations for implementing further testing approaches:
- It is possible to execute the Apex code from shell scripts using the approach described earlier in this chapter when we populated the scratch org with sample data by calling the...