Point tool automates test generation and unit test management
LDRA introduces LDRAunit, an integrated framework for automating the generation and management of unit tests. By separating unit testing capabilities from the rest of the LDRA tool suite, LDRA delivers a focused test management tool that addresses a need for software unit test without requiring investment in a complete tool chain. Such flexibility forms an ideal solution for companies that are committed to software quality though not necessarily required to certify to a specific standard.
LDRAunit follows typical unit testing methodology by taking the smallest piece of testable software in an application, isolating it from the remainder of the code, and determining whether it behaves as expected. LDRAunit tests code units separately before integrating them into modules and then systems to simplify identification of which part of the code might be failing to deliver expected results.
Extensive and sophisticated test automation and management options distinguish LDRAunit from other unit testing options. Using control flow and data flow analysis techniques, LDRAunit automatically generates tests in the application language—whether C, C++, Ada, or Java—and makes them capable of executing on the host or target. LDRAunit also automates stub generation for artifacts such as methods, constructors, system calls, and packages that are managed within a user interface. In addition, through eXtreme Testing capabilities, LDRAunit applies a range of return and global parameter values to the managed stubs for fully testing stub behavior and configurable exception handling to ensure that all code can be tested, hence minimizing the need for manual intervention.
By storing groups of tests as sequences, LDRAunit contains all of the information required to rerun test cases and store the results for regression verification and requirements-based testing. LDRAunit can also measure and report structural coverage metrics including procedure call, statement, branch/decision, modified condition/decision coverage (MC/DC), and linear code sequence and jump (LCSAJ). Coverage data can be presented through a combination of built in reports, custom reports using a results Application Programming Interface (API), and flow and call graph displays. Developers can use results to populate compliance reports that give overall pass/fail metrics for industry standards, such as DO-178B/C, with line-by-line views that detail specific statements, branches, and conditions executed by individual tests and combinations of tests.
For more information on the LDRA tool suite, please visit: www.ldra.com.