Project 2 - V&V SW Analysis II
1. Static Code Review Analyisis :
step-1 : To load the file go to SOURCE tab select the Testrain.c file, we can see it in FILE VIEW window.
step-2 : To do Static Code Analysis:
1.Set LDRA Testbed configuration option, go to CONFIGURE tab and select STATIC option and set location select all default options.
2.click on SOURCE tab, click on Run LDRA Testbed Static Analysis and the analysis will happen.
step-3 : To view test report go to RESULT tab and open static analysis code review report.
2. Integration Testing :
step-1 : To load multiple files go to SOURCE tab, click Multiple Files option, give SET name , choose SYSTEM option and browse to location C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ ** , select all files and add.
step-2 : Create Sequence, click on SEQUENCE tab, click on create new and give a name
A) To create test cases manually: In FILE VIEW window right click on the respective function and click create new test case, we can see test case created in TEST CASE VIEW window. Give input values in VARIABLE I/O VIEW window and can run test cases and can get the test reports in RESULT tab.
To create test cases automatically: After creating Sequence, go to EXTREME TEST tab and click Automatically Add Test Cases. We can see the test cases created for all the functions. Give input values in VARIABLE I/O VIEW window and can run test cases and can get the test reports in RESULT tab.
B)To save the Test Cases go to TEST CASE tab click on save test cases, choose location and give .tcf extension to the file name.
To store the files created, go to SOURCE tab, click on save file or set to TCF and give .tcf extension to the file name and save