Project 2 - V&V SW Analysis II
- Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review reports and upload them.
Answer
- Source - single file - load testrain.c
- Create a new sequence.
- Keep it in white box mode.
- Source - run static analysis
- Results - test manager report
- Repeat the same procedure for black box testing.











Perform Integration testing by including all the .C files available in the folder location C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ **
STEPS:
- Write the name of the file here and click on Create
- Click on " system "
- Add -> Userinteface.c file and click OK
- From the menu bar:
- Configure -> LDRA Testbed Configuration Options -> Static options
- In "include files" select the .dat file as shown below
- Similarly, select the .dat file in "macros"
- From the menu bar:
- Sequence -> New
- Sequence name
- From the menu bar:
- Source -> Run static analysis
- Generate reports for both " White box " and " Black box "
Integration Testing
Testing of two or more “.c” files combined is called Integration Testing.








A)Create the test cases manually as well as automatically using TBExtreme and upload the reports.
STEPS:
- After creating a sequence in the above steps, further in black box texting to generate " automatically test cases "
- From the menu bar: Extreme test -> Run Tabular Extreme Test
- cases are generated
- From the menu bar:
- Results -> Regression report and Test manager report are generated which are shown below.
- For manual test cases:
- Right-click on any function, below is shown of example "Userinterface parse" function
- Create a 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.
- In a similar manner manually entering values for other functions also.
- Generating Regression and Test manager report which is shown below.








- B) store the test cases as .tcf file. Upload the location image where the .tcf file is stored.
STEPS:
- From the menu bar:
- Source -> Save File or Set to TCF

