Project 2 - V&V SW Analysis II
/* Author : Kishore N
Date: 14-03-25*/
Static Code Review Analysis
Open LDRA Tool Suite: Launch LDRA Testbed.
Load the File: Navigate to C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain and open Testrain.c.
Perform Static Analysis:
Use the Static Analysis feature in LDRA Testbed.
Configure the analysis settings as needed.
Run the analysis to identify code quality issues, coding standard violations, and potential bugs.
Generate Report:
After the analysis, generate a code review report from the Report Manager.
Select the desired format (e.g., HTML, PDF) and include relevant details.
Integration Testing
Include All .C Files:
Navigate to C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\.
Include all .c files in the integration testing setup.
Create Test Cases:
Manually:
Open the Test Case Manager.
Add new test cases for each function, specifying input parameters and expected outputs.
Automatically:
Use the Automatic Test Case Generation feature in TBExtreme.
Configure settings to generate test cases based on code coverage criteria.
Run Tests and Generate Reports:
Execute the test cases and monitor the results.
Generate test reports from the Report Manager.
Store Test Cases:
Save the test cases as a .tcf file.
Note the location where the .tcf file is stored.