In this release, we've focused on helping you streamline your unit testing process and increase your code coverage with Unit Test Assistant.
Support for Java
We've added support for Java 9 and 10.
Support for IDEs
We've added support for:
Test Impact Analysis
Test impact analysis allows you to identify and run a subset of tests that are affected by changes to your production code. It speeds up test execution and helps you optimize the unit testing process. To facilitate test impact analysis with Jtest, we've introduced the Impacted Unit Test view in the IDE and the Test Impact Analysis plugin for Maven and Gradle.
Impacted Unit Tests View
The Impacted Unit Tests view is a new panel in your IDE that helps you understand how changes affect your tests. You can now monitor in real time which tests are being affected by your current code modifications and select a subset of tests you want to run. See Change-Based Testing.
Test Impact Analysis Plugin for Maven and Gradle
The new test impact analysis plugin can detect and re-run only the tests that were affected by your changes. The plugin integrates with your build systems, enabling Jtest to leverage the test impact analysis functionality and accelerate test execution processes. See Test Impact Analysis with Maven and Test Impact Analysis with Gradle.
Increasing Code Coverage
We've enhanced Jtest's code coverage capabilities.
Enhanced Uncovered Code Recommendations
The Uncovered code recommendation can now guide you through the process of increasing code coverage:
In addition, we've optimized detecting uncovered code. See Increasing Code Coverage for details.
Creating Tests for Private Methods
Additional Unit Test Assistant Enhancements
Support for Spring in IntelliJ IDEA
You can now create, monitor, and enhance Spring unit tests in IntelliJ IDEA. See Creating a Spring Unit Test.
Automatically Creating Assertions
We've extended UTA's tracking capabilities to automatically make assertions. The Track and make assertions option monitors a method call and automatically applies all recommended assertions. See Tracking Object Changes and Creating Assertions.
UTA Actions in the Quick-Fix Menu
UTA actions are now available form the context assist dialog, which opens with a keyboard shortcut. See About UTA Actions.
Support for Mockito 2
We've added support for Mockito 2 and enabled UTA to automatically detect the Mockito version you are using.
Standalone License Server
Updated Test Configurations
The following test configurations have been updated to improve analysis results:
Updated Code Analysis Rules
The following static analysis rules have been updated to improve analysis results:
The output messages of the following rules have been updated, and as a result, suppressions associated with these rules on DTP may no longer be available:
You can restore the previous messages and suppressions for the BD category rules by configuring the following settings in your .properties file:
Resolved Bugs and FRs