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.

Jtest 2024.2 Product Release Announcement

Exciting Updates in the Latest Parasoft Jtest Release

We are thrilled to present the 2024.2 release of Parasoft Jtest, focusing on expanding AI integration and enhancing automated testing capabilities. Our latest updates are designed to empower developers with advanced tools for improved privacy, efficiency, and reliability in software testing. Below are the key enhancements included in this release:

Expanded LLM Integration for Enhanced Privacy

Support for LLM providers has been expanded beyond OpenAI and Azure OpenAI, giving users the flexibility to integrate with any LLM provider that supports a chat completions endpoint compatible with OpenAI. This provides a privacy advantage, as users can now use locally deployed models instead of cloud-based ones. Learn more in LLM Integration.

AI Integration Enhancements

  • Apply AI Quick Fixes Directly to Code: Developers can now directly apply AI-recommended fixes to their code using a difference editor, facilitating either a partial or complete application of suggested changes. Detailed guidance can be found in Improving Tests with AI, Generating a Suggested Fix and Working with Recommendations.

  • Enhanced Unit Test Generation using LLM Integration: The Unit Test Assistant (UTA) now leverages optional LLM integration to update initially failing tests and make them pass, enhancing test quality. Explore this feature in Use AI to fix failing generated tests.

  • AI Quick Fixes for Failing Unit Tests: These are now available for assertion and exception recommendations in failing unit tests, streamlining the resolution process.

  • AI Quick Fixes in Visual Studio Code: AI-generated fixes are now supported to help you resolve static analysis violations in the Visual Studio Code plugin. See Generating a Suggested Fix for more information.

Unit Test Creation Enhancements

  • Broadened Analysis Scope: We've expanded our analysis to a wider set of classes during unit test creation. This means you'll get better initialized and constructed tests, making your testing process more robust and comprehensive.

  • Automatic Static Mocks: When static mocking is enabled, all necessary static mocks are now automatically created by default during unit test creation. For further customization, you can fine-tune mocking settings in the UTA Preferences. Check out Configuring Mocking Options for more information.

  • Default Value for Numbers: We adjusted the default value for numbers in generated tests that aren't required to be a specific value from 0 to 1. This change helps in generating more logical and error-free test scenarios.

Unit Test Recommendation Enhancements

  • Setup Problem Identification: We've introduced a new recommendation that identifies potential setup problems when multiple tests fail with the same exception or for similar reasons. This tool will help you pin down and resolve the root causes of recurring test failures, streamlining your debugging process. For more insights, see Potential Setup Problems.

  • Static Mocking Recommendations Action: We've added a new action for static mocking recommendations allowing you to exclude specific patterns from mocking. This gives you more control over your testing environment, helping to create more precise testing conditions. For details, check out Mocking Static Methods.

Live Static Analysis and Live Unit Testing

Jtest supports continuous code quality monitoring through Live Static Analysis and Live Unit Testing. As you update code in your IDE, Live Static Analysis runs static analysis in the background and Live Unit Testing runs impacted unit tests in the background. These functionalities provide real-time feedback about the quality of your code as you make changes. Detailed information is available in Live Static Analysis and Live Unit Testing.

Code Coverage Enhancements

Memory efficiency when processing application coverage has been enhanced. Additionally, coverage for test classes is disabled in the IDE by default but can be adjusted as needed.

In-File Suppressions Enhancements

Enhancements to in-file suppressions empower you with more flexibility. The location of suppression files can now be customized in both CLI and IDE environments. You can also define suppressions using paths with wildcards and specify rule categories with an optional severity suffix.

Security Compliance Pack Enhancements

Support for CWE version 4.15 has been added, along with updates to existing configurations. New rules have been integrated into the CERT for Java Guidelines test configurations.

For a complete list of all updates, please review our 2024.2 Release Notes!