Challenge

Project 2 - V&V SW Analysis II

1.To perform the static code review analysis for :

 C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c

 Output: Reports of the given file are with no violations

 Steps:

-Login with user30 and open the LDRA tool.

-Open the source and select the file given in the question.

-Then perform the static code analysis ,option from the source.

-Then review the reports in results->Test manager reports.

-Note:The Screenshots the report are posted below.

2.Steps to perform Integration testing: 

-To perfom Integration testing with ( C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ ** )

-To perform whitebox testing manually and automatically using the TB extreme.

-Open the source ,select multiple files option and select all the .c files that are to be tested from the given path or location.

-Run the static code analysis for the files.

-Then create a new sequence for the file, in my case the sequence name is cash_1.

-Double click on the file name in the sequence box to change the testing from white to black and black to white.

-Then create a new test case from the option test case and writhe the test cases manually.

-To create test cases automatically right click on the file in sequence box and select Run tabular extreme,This will create all   the test cases automatically for each and every condition for every function in the file.

-Run Standard extreme,this creates only one test case automatically for the given function or file.

-Check the pass statements for the test cases.

-Check the results in results section ->(test manager report).

-Check that the branch and statement coverage are 100% for each function.

-Upload the test cases as .tcf file and save them.

-Note my test cases are exported by file name as Cash.tcf 

Output: The screenshots are attached below with the reports of integration testing.

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.