Project 2 - V&V SW Analysis II
Live lectures by Abhinaya mam
- Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them.
Ans..
) Source-testtrain.c
b) Select sequence and then new option
c) Now give a sequence name
d) Enable the code coverage
e) Then continuef) Now go to Source and run static analysis
g) View Results -- test manager report
- 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. B)store the test cases as .tcf file. Upload the location image where the .tcf file is stored.
Ans..
a) Open Tbrun first
b) Then Go to source and select multiple files
c) Then select create and here we need to create a demo file
d) Go to group and select the independent option
e) Now select system (dependency in files)
f) Now select the .C file that needs to be tested, here path of the .c file is required so add the path
g) Now it will open the LDRA test bed and then it will ask for yes or no, so select (cause the dependency between files will be taken only if we select no here)
h) Now go to configure -- LDRA test configuration -- static
i) Now add the path of the .c file taht we selected (Its not a mandatory step but to be more sure that we have add the path of the .c file here as well)
j) Static analysis
k) Now generate the report