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
Preform unit testing
Souce -> Single file -> Userinterface.c -> Select
Create new test sequence by clicking
Sequence -> New -> Sequence name -> Enable code coverage -> Continue
White box testing
Source -> Run static analysis -> Results -> Test manager report
Black box testing
Right click on white box -> Set as black box texting -> Source -> Run static analysis -> Results -> 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\ **
Perform Integration testing
Write the name of file and click on Create
Click on " system "
Add -> Userinteface.c file and click OK
In next window select option " No " for Run LDEA Tesstbed Analysis
From menu bar -> Configure -> LDRA Testbed Configuration Options -> Static options
In "include files" select .dat file
Similarly select .dat file in "macros"
From menu bar -> Sequence -> New Sequence name click on Continue
From menu bar -> Source -> Run static analysis
Generate reports for both " White box " and " Black box "
A)Create the test cases manually as well as automatically using TBExtreme and upload the reports.
automatically test cases
From menu bar -> Extreme test -> Run Tabular Extreme Test
From menu bar -> Results -> Regression report and Test manager report
For manual test case:
Create new test case -> Enable the mode Repetitions -> Continue -> and again Continue.
Manually giving input value for the function and then from Run driver respective function is run.
B)store the test cases as .tcf file. Upload the location image where the .tcf file is stored.
From menu bar -> Source -> Save File or Set to TCF