Development teams can deliver regulatory compliant software even faster with the new release of Parasoft C/C++test 2022.1. The latest release continues our focus on simplifying the rigor of software testing with innovative features and enhancements that complement software development.
With this release, you can build highly automated and scalable CI pipelines using Docker Hub images for seamless access to automated code analysis. Then review results inside your IDE with the popular and enhanced VS Code plugin for GitLab.
Here’s a quick list of the enhancements included in C/C++test 2022.1.
C/C++test’s rule set for MISRA C:2012 and compliance reporting has been updated to reflect changes brought in by Technical Corrigendum 2. With these updates, Parasoft customers can ensure they are enforcing compliance with the latest and the most up-to-date version of the MISRA standard.
Parasoft is also actively preparing for the upcoming MISRA C:2012 Amendment 3 (AMD3) release. AMD3 will provide a collection of new guidelines to enable the safe and secure use of C11 and C18. The C/C++test update will be released immediately following MISRA’s release of AMD3.
“MISRA”, “MISRA C” and the triangle logo are registered trademarks of The MISRA Consortium Limited. ©The MISRA Consortium Limited, 2021. All rights reserved.
The world’s largest image library, the Docker Hub repository, now contains a C/C++test Standard product image. Users can easily pull the image and use it in their CI/CD workflow, simplifying their pipeline’s configuration. You can also use the C/C++test Docker image outside of your CI/CD workflow like in regular command line scenarios. In these cases, users don’t even need to install the tool on their system.
The image comes pre-installed with a selection of development tools, so simply pull the image, and get started right away, or customize the image to your needs. Also, documentation at Docker Hub comes with a sample Docker file, so users can apply their customizations.
To streamline and help enforce compliance to DISA ASD STIG, C/C++test now applies the dedicated DISA STIG ID rule set with a collection of static analysis checkers.
DISA ASD STIG specifically requires scanning for certain types of vulnerabilities. You can use C++test with its advanced static analysis capabilities to collate and analyze results for later reporting and audits. Coding violations against the guidelines are reported with STIG IDs, which eliminates the need to map SAST findings to STIG guidelines and results in streamlined compliance efforts.
The flow analysis engine has been enhanced to better support modern C++ constructs, including smart pointers like unique_ptr, shared_ptr, auto_ptr, and weak_ptr. These enhancements in smart pointers semantics understanding enable precise tracking of resource use and improve the quality and accuracy of reported findings. We also added a collection of minor accuracy improvements and bug fixes.
Development teams can run static code analysis and review analysis results in the IDE with the updated plugin for Visual Studio. The updated C/C++test Standard plugin is compatible with Visual Studio version 2022.
This enhancement improves development teams’ productivity and reduces effort by eliminating unnecessary IDE context switching.
We expanded our collection of supported compiler configurations.
The Requirements View in C/C++test Professional has been enhanced. You can now use drag and drop to associate a unit test case with a specific requirement. This new capability simplifies defining traceability links between requirements or test specifications and test cases.
A new command line parameter, -property, was added to C/C++test Professional to specify additional local settings properties for analysis configuration. This new option simplifies tool configuration in the pure command line use models.
C/C++test Standard 2022.1 Eclipse plugin has been enhanced to support the latest Eclipse IDE versions 2021-09, 2021-12, and 2022-03.
If you’re not currently a Parasoft C/C++test user, but want to see how this unified, fully integrated testing solution can help your team develop safe and secure C and C++ software, request a demo.
Questions about Parasoft C/C++test? We’re here to help!
Product Manager for Parasoft's embedded testing solutions, Miroslaw's specialties include C/C++, RTOSes, static code analysis, unit testing, managing software quality for safety-critical applications, and software compliance to safety standards.