Project 2 - V&V SW Analysis II
STEPS TO GENERATE CODE REVIEW REPORT:
First Open the LDRA Tool
Go to LRDA_Workarea \Examples\C_Testbed_examples\Testrain\Testrain.c”
Go to Sequence ==> Click New
Enter a Sequence Name ==> Click Code Coverage ==> Click Continue
Go to Extereme Test ==> Click Run Tabular Extreme Test.
Go to Results ==> Click Test Manager Report
Code Review Report is Generated Using LDRA tool suite
2. A)Create the test cases manually as well as automatically using TBExtreme and upload the reports.
AUTOMATIC TESTING:
1. Go to Source => Click Single File
2. Click Examples
3. Click ToolSuite
4. Click Source
5. Click Userinterface
6. Click Cashregister_6.0
7. Go to Sequence=> Click New
8. Enter a Sequence Name => Click Code Coverage => Continue
9. In File View=> Right Click a File => Set as Black Box
10. Go to Extereme Test => Click Run Tabular Extereme Text
11. Go to Result => Click Test Manager Report
12. Test Manager Report is Generated
MANUAL WHITE BOX TESTING:
1. Go to Source => Single File
2. Select Userinterface .c File
3. Go to Sequence => Click New
4. Enter Sequence Name => Click Code Coverage => Continue
5. In File View and Right Click then Set As White Box Testing
6. Go To Source => Run Static Analysis
7. Go to Results => Click Test Manager Report
8. White Box Test Report is Generated
2 B)store the test cases as .tcf file. Upload the location image where the .tcf file is stored.
STEPS TO FOLLOW TO STORE THE TEST CASES AS .tcf file
- Tbrun
- Source..multiple files
- create…Integration
- Group..independent
- System..dependencies in files(preferred)
- Choose the .c file
- Ldra test bed..no
- Configure..ldra test configuration..static options..path of grocers.c file
- Static analysis
- Report