This release includes the following enhancements: Release date: November 2, 2021 Integration with Azure DevOps and GitLabWe've added enhancements to help you streamline your workflows with CI systems. You can now conveniently review results reported by Jtest directly in Azure Pipelines or GitLab. Integration with Azure DevOpsWe've added the Jtest extension for Azure DevOps, which allows you to easily integrate Jtest with your Azure DevOps pipeline. The extension provides a task for running analysis with Jtest and generating the Jtest report in the Azure DevOps-specific SARIF format. The analysis results are then displayed in build results for each execution of your pipeline. See https://marketplace.visualstudio.com/items?itemName=parasoft.jtest-azure-devops for details. Integration with GitLabYou can now integrate with GitLab by modifying your GitLab workflow to run analysis with Jtest and generate the analysis report in the SAST format. This allows you to review results reported by Jtest as code vulnerabilities in GitLab. See https://gitlab.com/parasoft/jtest-gitlab for details. Enhanced Unit Test AssistantWe've introduced new features and enhancements to the existing functionality to help you streamline the test creation process and conveniently configure the UTA options. New UTA Features and EnhancementsNew Coverage OptionsUTA now creates multiple test cases per method that cover different code branches in the method under test. You can create test suites optimized for one of the following:
See Creating Test Suites for details. Automatically Adding AssertionsUTA now adds assertions to the tests that it generates during bulk test creation using the Create test suite option (formerly Add test case(s); see Other Changes to UTA). After generating tests, UTA runs the tests and captures the behavior of the code under test, adding assertions that verify the return value of the method under test (if there is one) and fields in the class under test that change. See Creating Test Suites. UTA Enhancements
|
Area | Updates | References |
---|---|---|
Bulk creation of test cases |
| |
Creating parameterized tests |
| |
Creating Spring tests |
| |
Preferences | The configuration options are now better organized to help you quickly and intuitively configure UTA. | |
Timeout for test execution | The Configure tests with timeout (in ms) option has been moved from the bulk creation dialog to the Preferences page. | |
Assertion templates | Enabling the Generate sample assertions option no longer results in adding assertion templates to the test code when tests are created with the Create test suites (formerly Add test cases(s)) option. |
We've added support for deploying Jtest in a Docker container image. Running Jtest from a Docker container allows you to leverage Jtest's capabilities in a containerized environment to ensure consistency across the team and multiple development cycles. See Deploying Jtest in a Docker Container.
Jtest can now analyze code written in Java 16 and 17.
We've added support for the following IDEs:
1 This IDE runs with Java 16, which may impact Test Impact Analysis. See Known Limitations for information about the workaround.
You can now integrate Jtest with Cucumber – a tool that reads executable specifications written in a natural language. Integrating with Cucumber allows Jtest to report results and collect coverage data for Cucumber tests. See Integrating with Cucumber.
We've extended the Security Compliance Pack by adding support for the latest versions of CWE and OWASP Top 10. See the New and Updated Test Configurations section below.
We've added the following test configurations:
1This is a preview version of the test configuration, which is not part of Parasoft Compliance Pack solution. Reviewing rule violations using the compliance extensions on DTP is not supported.
We've added the following rules:
Rule ID | Header |
---|---|
SECURITY.WSC.IDP | Avoid setting the write or execute file permissions to unintended users |
We've updated the following rules:
You must accept the Parasoft End User License Agreement (EULA) to use Jtest. The Parasoft EULA is available in the Jtest installation directory and at https://www.parasoft.com/license.
To agree to the terms of the EULA, enable the following setting in your jtestcli.properties configuration file: parasoft.eula.accepted=true.
If you install the Parasoft Plugin in your IDE, you will be prompted to accept the EULA by the installation wizard and the EULA acceptance setting will be automatically added to the jtestcli.properties file.
Bug/FR ID | Description |
---|---|
FA-8624 | False positive for BD.EXCEPT.NP. BD.EXCEPT.NP triggers for variables that are assigned to a non-null value in a for loop. |
FA-8650 | Incorrect CFG after trying to simplify chained casts |
JT-73624 | Exception while closing the database |
JT-73664 | NPE in SECURITY.WSC.MCNC rule |
JT-73698 | Can we skip Lombok autogenerated code when performing analysis? |
JT-73720 | UC.UIMPORT false positive |
UTA-5250 | Support for Lombok framework |
XT-39322 | Proxy settings are not applied when requesting for license in lightweight Parasoft Plugin |
For information about this release, see https://docs.parasoft.com/display/JTEST20212/Updates+in+2021.2. |