Navigate between product and test code

Easily navigate between product Apex classes and their unit test class counterparts using the IDE's Related Symbol navigation.

Apex unit test navigation

Create test configurations

Create test run configurations to specify exactly which subset of Apex unit test classes and methods should be included and what granularity of log information should be captured during execution.  These configurations can even be shared with your team.

Apex unit test run configuration with methods

Illuminated Cloud can even maintain a test run configuration for all test classes and methods in the project.

All test classes/methods test run configuration

You can quickly create test run configurations from context based on the selected Apex test class or method using the context menu, gutter action, or CTRL+SHIFT+F10 (Windows/Linux) or CTRL+SHIFT+R (Mac).

Apex unit test context configuration

Apex Test Suites

Illuminated Cloud supports execution of Apex Test Suite metadata. Simply right-click on any .testSuite file and Illuminated Cloud will offer to create or run a unit test run configuration based on the contents of the test suite.

Apex Test Suite support

Run tests and review results

Execute your test configurations and review the results in the IDE's test runner.  Rerun failed test methods after fixing them with a single button.  Hyperlinked stack traces and trace logs are displayed for each test method.

Apex unit test results

Analyze code coverage

After executing unit tests, review Apex code coverage metrics at the line, class, and aggregate levels.  Covered and uncovered lines are annotated clearly in the editor for production classes and triggers.  Class-level coverage is displayed in the Project and Coverage views.  Aggregate coverage is displayed in the Project view for applicable source folders.

Apex code coverage