Skip to main content

How do developers test their AURA, LWC, JS, and CSS code in Salesforce? I understand how to write test classes and test APEX code, but I lack knowledge on testing JS, AURA, and CSS in Salesforce.

 

As a beginner, how can I learn this? I've searched through Trailhead, YouTube, ChatGPT, and more, but I haven't found the right learning path. What is the most effective method of learning?

 

Do we actually test AURA and JS code given that they are frameworks? I am struggling to comprehend. If testing is necessary, how is it done?

 

Could you please provide references and guidance based on your experience?

1 个回答