Run Tests window

The Run Tests window helps you to select particular test classes or even methods from different test classes and execute only them. Open this window from the Test Result panel or from the Main Menu: Project ⇒ Run tests. The Welkin Suite will refresh the list of available tests from Salesforce. If you have a cached test list, this process will take just a few seconds.

List of available tests

The list of all available tests is downloaded from the Salesforce org only when the Run Tests window opens for the first time, and then it is cached. The list of the test classes that was loaded previously will be displayed immediately in the Run Tests window, so you won't have to wait for the tests to be downloaded again.


The list of tests


Each of the items on this list can be expanded. If you choose to expand, you will see the list of the separate test methods that this test class includes. By default, if you select any test class, all test methods that it includes will be checked, but you can deselect those test methods that you don't want to run at the moment.

Refresh list

You can easily get the newest list of test classes by clicking on the Refresh List button in the top-right corner. This action sends a query to Salesforce and at the same time checks the local files for the available test (the search criteria is @istest). If you create a new test class or method, in order to find them in the list, you need to build them first.

Hover the cursor on the Info icon near the Refresh List button to see information about the current list of tests. This cache is stored even between your sessions, so even after rebooting The Welkin Suite IDE, when you re-launch the IDE, it will automatically display the list of test classes from the cache for your current project.


Information about the current list of tests


Deployment validation

The checkbox Run selected tests as a deployment validation allows you to execute tests with the highest priority on a 'fake' deployment. This feature is very helpful when you need only to verify some tests.

When all the necessary tests are selected, click on the Run tests button. If you want to go back, click on the Cancel button.

You can see the progress of the test-run in the Test Results panel.

In this section:

This also may be useful:

Last modified: 2017/02/02 14:30

footer image