Challenge

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.

Answer:-

//Static Code Analysis

Steps:-

1)In LDRA tool page select source and open -> Single File(Testrain.c)

Now we can see the selected file in the file view

File path:- C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c

2)Select Sequence -> New_Sequence -> Name the sequence(Test_1),select code_coverage and continue

Initially when the sequence is created it is set for Whitebox Testing

3)Source -> Run Static Analysis

Once it is initialized .c file will run and that activity will appear in the Log view

4)Result -> Test Manager Report

Here we will get the final test report

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.

Answer:-

//Integration testing

Steps:-

1) In LDRA tool page select source and open -> Multiple File -> Create Set ->System -> Add Multiple files

File path:- C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\

For Integration testing Sets have to be created to store multiple files

2)Configure -> Analysis Configuration -> Static Option ->Find/Create(In include files and macros to add path)

For static analysis, add the path of data files into include files and macros

3) Select Sequence -> New_Sequence -> Name the sequence and continue

/*For Blackbox or whitebox Testing Sequence must be created*/

Initially when the sequence is created it is set for Whitebox Testing

4)Source -> Run Static Analysis

Once it is initialized .c file will run and that activity will appear in the Log view

5)Result -> Test Manager Report

Here we will get the final test 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.