
LDRAunit provides automated unit and integration testing (or “low-level testing”). These test regimes help to ensure all code meets quality standards before deployment. Automated unit testing saves time and money by helping developers to write better code, more efficiently.
Vendor
LDRA
Company Website


What is LDRAunit?
LDRAunit is a cost-effective, stand-alone unit and integration test tool that doesn’t require investment in a complete tool chain. LDRAunit automates and increases test throughput and repeatability to significantly increase overall test effectiveness. Software development managers seeking to develop the highest quality code in the most cost-effective manner leverage automated unit/integration testing to avoid the potential delays caused by inefficient manual low-level testing strategies. These traditional techniques are often inadequate and postpone the discovery and correction of defects until late in system test where they are more expensive to fix.
LDRAunit utilizes sophisticated control flow and data flow analysis techniques to determine full details of the interface to the unit(s) under test. This level of information then enables LDRAunit to automatically generate test drivers removing the need for manual scripting. Stubs can be written by hand or generated automatically for functions, methods, constructors, system calls, packages, generics, etc. The automatically generated “managed stubs” are sufficiently complete to allow the test harness to build and execute. Exceptions can be automatically caught, and test cases can be passed or failed dependent on whether exceptions have been raised. The exception handling method is configurable. LDRAunit stores groups of test cases as sequences. Exported sequences are stored in Test Case Files (TCF) which contain all the information required to re-run the test cases. TCFs can be grouped with regression reports and can be stored for regression verification. They can be either saved with the source file, saved via a software configuration management (SCM) system, or used as an annotation. Requirements-based testing documentation can be included and stored – perhaps reasons why particular values were chosen, or tags to map to a requirement management system.
LDRAunit has access to the full range of LDRA coverage metrics, including Procedure Call, Statement, Branch/Decision, and MC/DC and LCSAJ (JJ-path). Users can choose appropriate metrics based on their safety and program constraints. Line-by-line views indicate which statements, branches and conditions have been executed. LDRAunit supports the creation and execution of test cases on host, target, and simulated target.
Features
- Automated Test Generation: Automatically generate unit tests to verify the functionality of individual software components.
- Test Execution: Execute unit tests efficiently, providing immediate feedback on test results and performance.
- Detailed Reporting: Generate comprehensive reports that highlight test outcomes, coverage, and areas for improvement.
- Support for Multiple Languages: Perform unit testing for a wide range of programming languages, ensuring versatility and broad applicability.
- Integration with Development Tools: Seamlessly integrate with popular development tools and platforms, enhancing workflow efficiency and collaboration.