We can run specific test methods from test class in Salesforce. If you have many test methods in an Apex test class but you don’t want to run all of them, then you can select the specific method and run in the developer console.
In such scenarios, If you want to run failed test method out of 50 test methods in a class you can do this instead of running entire class.
Follow the below steps:
In such scenarios, If you want to run failed test method out of 50 test methods in a class you can do this instead of running entire class.
Follow the below steps:
- From developer console, select the Test -> New Run
- Select the test class and click add selected then select the methods, click Run
No comments:
Post a Comment