Project 2 - V&V SW Analysis II
1.) Perform Static Code Review Analysis for
“C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them.
Ans.
Mention Step Below
- Open LDRA tool
- Click on Source
- Click on Single file

4.Select the Ggrocer.c or any .c file
5.You can see the uploaded Ggrocer.c file in File view window

6. Go to sequence ⇒ new ⇒ give an name ⇒ click on code coverage check box


7. Go to source ⇒Run static analysis

8. Go to result ⇒ Test Manager report







2.) Perform Integration testing by including all the .C files available in the folder location
C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ **
A)Create the test cases manually as well as automatically using TBExtreme and upload the reports.
Ans.
- Open LDRA tool
- Click on Source
- Click on Multiple file
One window pop up
4. Give any name ⇒ click on create ⇒ click on system ⇒ add ⇒Ggrocer.c ⇒ ok




5. Test bed analysis window opens ⇒ click NO
6. Now Go to configure on menu bar ⇒ Analysis configure option

7. Static option ⇒ window opens



8. Now click on Find/create buttion ⇒ example ⇒ TBrun_example ⇒ example ⇒ just click on select



9. Go to Macro ⇒ Now click on Find/create buttion ⇒ example ⇒ TBrun_example ⇒ example ⇒ jus click on select






10. Now click on Apply ⇒ OK


11. Go to source ⇒ Run static analysis

12. Result ⇒ the report



B)store the test cases as .tcf file.
Upload the location image where the .tcf file is stored.
Ans.
- Open LDRA tool
- Click on Source
- Click on Single file

4.) Select the Ggrocer.c or any .c file
5.) You can see the uploaded Ggrocer.c file in File view window

6.) Go to sequence ⇒ new ⇒ give an name ⇒ click on code coverage check box

7.) Right click on Ggrocer.c in file view window ⇒ set as black box testing


8.) Go to source ⇒ Run static analysis

9.) Go to extreme test on menu bar

10.) Click on Run Tabular extreme test case ( all the test case pertaining to function in Ggrocery.c file have created). All test created (40).
11.) Go to source ⇒ click on Save file or set to TCF

12.) Save file and send to your mail ID from remote desk Top