Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Announcing Parasoft Jtest 2022.2

Tomasz
Tomasz Posts: 12
edited November 9 in Jtest

The latest release of Parasoft Jtest (2022.2) is now available. In this release, we focused on the following areas:

Android Support

  • Support has been added for running static analysis for Gradle Android builds from CI/CD and CLI for Java language.
  • Experimental support has been added for unit test execution, monitoring and coverage collection for Android projects. Full support will be added in a future release.
  • A new Android Guidelines test configuration has been added. It is based on the following standard: https://google.github.io/styleguide/javaguide.html

Parasoft Findings for SonarQube
The Parasoft Findings Plugin for SonarQube has been introduced. The plugin allows you to view static analysis test results within SonarQube. For details, see Parasoft Findings for SonarQube. The plugin can be downloaded from the Parasoft marketplace

Support for Parallel Builds
In addition to functionalities introduced in 2022.1, Jtest now supports test impact analysis for Gradle and Maven parallel builds.

New and Updated Test Configurations
The Security Compliance Pack has been extended by adding support for the following test configurations:

  • CWE 4.9 (accuracy improved and number of duplicated findings reduced)
  • CWE Top 25 2022
  • CWE Top 25 + on the Cusp 2022
  • CERT for Java Guidelines
  • HIPAA
  • PCI-DSS 4.0
  • VVSG

The following test configuration has been updated:

  • CERT for Java

New and Updated Static Analysis Rules
The following rule has been added:

  • SECURITY.ESD.WS

The following rules have been updated:

  • JUNIT.AHLOD
  • PB.CLP
  • PB.OVAM

Updated Flow Analysis Rules

  • BD.SECURITY.ARRAY
  • BD.PB.CC

Unit Test Assistant Enhancements

  • The Unit Test Assistant preferences contain a new option "Only add test cases that increase coverage" that is enabled by default. When this option is deselected, Jtest may add unit tests that do not add to the overall coverage of the code but that have additional variations in the unit tests that are created. You can deselect this option if you want to see whether Jtest can generate additional interesting test cases with variations on test setup. See Configuring Preferences.
  • The Unit Test Assistant has improved support for initializing variables whose type is a subclass of java.lang.Number.

Support for IDEs

  • IntelliJ 2022.1
  • IntelliJ 2022.2
  • Eclipse 2022-06 (4.24)
  • Eclipse 2022-09 (4.25)

Additional Updates

  • The mechanism of finding and analyzing project resource files has been improved. As a result, after upgrade many new violations may be reported against files in resource folders by rules that check XML or properties files, since those files were not previously being analyzed. If this happens, you can address the new violations in one of the following ways:

    • Fix or suppress each violation as appropriate.
    • Reconfigure rule properties to reflect how you want the rules configured.
    • Disable the rules if they do not need to be applied.
  • All required dependencies are now automatically resolved by Maven by the time jtest-maven-plugin is run. As a result, you may notice that more dependencies are resolved during Jtest plugin execution than during the test goal execution.

  • OIDC authentication with OKTA is now supported for both IDE and CLI-based workflows. See Configuring OpenID Connect in the UI and Configuring OpenID Connect in the .properties File.
  • General improvements to the Flow Analysis engine may cause some differences in the violations reported by Flow Analysis rules compared to the previous version.
  • The performance of the scope analysis with Git integration has been improved.

Resources
• For more details, please see the release notes.