The C++Test Solution: Automated Unit Testing
Parasoft recognized both the value and difficulty inherent in C and C++ unit testing and addedvC++Test to the Parasoft family of Automated Error Prevention (AEP) tools. In the AEP methodology, errors are proactively prevented rather than reactively captured and destroyed.
By automating the unit testing process, C++Test makes unit testing feasible for even the most time–starved developers, and affords greater precision and accuracy than manual unit testing. For developers working with embedded systems, using C++Test significantly reduces target system debugging. For both types of development, embedded and non-embedded, using C++Test translates to higher quality applications, less development time, and lower development, support, and maintenance costs. C++Test automates nearly every aspect of unit testing that can possibly be automated. C++Test:
• Runs a static analysis on source code for automated coding error prevention. This builtin feature automatically implements over 300 industry–wide coding standards designed to reduce the possibility of introducing errors and increase code portability and maintainability. Filter the standard rules to customize the static analysis, or create custom rules using the built–in RuleWizard feature. No more fighting divergent or eccentric coding standards within a development team or among a set of teams.
C++Test now allows you to collect static analysis messages from header files, increasing the depth of analysis your coding structures undergo. The addition of Logical Components to the RuleWizard feature streamlines customized rule creation and eliminates the need for multiple rules to check certain coding constructs.
• Runs a dynamic analysis on source code, from a single method to an entire project. This includes:
• Building a harness for each file that it tests.
• Creating any necessary stubs. C++Test allows stub customization, including linking to external libraries if desired.