Newer Version Available

This content describes an older version of this product. View Latest

Get Started with Lightning Testing Service

Let’s see LTS in action.

These steps assume you’ve already followed the Install Lightning Testing Service instructions.

  1. From your project directory, create another scratch org using the configuration file from the cloned LightningTestingService repo.
  2. Push metadata to the scratch org.
  3. Run tests.

You see a screen that looks something like the following.Jasmine example test results

How to Push Data to a Developer Edition Org

Salesforce DX is designed to work with a Dev Hub and scratch orgs. If you have a normal DE org you’d like to work with, the commands are slightly different.