+ Start a Discussion
SFDC developer999SFDC developer999 

how to test lightning components

How to we test lightning components? do we need to create test class as with Apex classes?

Do we need to have 75% tested lightning components? How to move them to Production?

Do lightning components be counted against Governor llimits ? 
No, only apex class / triggers are count against 75% code deployment. 

Lightning Components are build in JS and hence do not require any test class. 
Zachary WaltonZachary Walton
If you are interested, you are able to test Lightning components using Jasmine (https://jasmine.github.io/). There are some videos (https://www.salesforce.com/video/294751/) online that you can check out if interested.