Challenge

Project 2 - V&V SW Analysis II

Que 1. Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them.

Solution:

Static Code Review Analysis

STEP 1 : Open Testrain.c in the LDRA tool

- Goto “Source” and select “Single File”

- Choose “Testrian.c” from the “Select File” pop-up box

- Screens present inside LDRA tool

STEP 2 : Create a New sequence & specify a name for it ; enable “Code Coverage” & continue

STEP 3 : Run Static Analysis

STEP 4 : Get the Test Manager Report

• Code Review Analysis

Que 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. B)store the test cases as .tcf file. Upload the location image where the .tcf file is stored.

Solution:

Integration Testing

STEP 1 : Open Cashregister.c in the LDRA tool

- Goto “Source” and select “Multiple Files”

- Select/Create/Delete Set window will appear ; give a set name and create

- Select “Add” option and add the .c file

- Select “System” for the new set property ; to take the dependencies between the subfunctions into consideration

- Hence the .c file has been added; press “OK”

- Press “No” for LDRA Testbed Analysis; configuration should be done at first & only after configuration, we will run the Testbed

STEP 2 : LDRA Test configuration

- Goto “Configure” & select “Static Options” from “Analysis Configuration Options

- Click on “Find/Create” from “Static Analysis Options” pop-up window

- Click on “Select” with default File name : “sysearch”

- Click on “OK” after setting up the directory

STEP 3 : Run Static Analysis

STEP 4 : Get the Test Manager Report

• Test Manager Report

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.