Test your Lightning component code using the Lightning Test Service (currently in Pilot)
Your Lightning Components should be tested too
The LTS is available in two forms:
- An unmanaged package thats installed to your Developer Org.
- A CLI plugin to Salesforce DX
Folks are encouraged to install the unmanaged package before trialling the CLI plugin. I’m encouraged that this crucial piece of the testing puzzle is being addressed. Rather than repeat the documentation with an example here, I implore you to go and find out for yourself.