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.

Ans.

Mention Step Below

  1. Open LDRA tool
  2. Click on Source
  3. Click on Single file

4.Select the Ggrocer.c or any .c file

5.You can see the uploaded Ggrocer.c file in File view window

6. Go to sequence ⇒ new ⇒ give an name ⇒ click on code coverage check box

7. Go to source ⇒Run static analysis

8. Go to result ⇒ 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\ **

A)Create the test cases manually as well as automatically using TBExtreme and upload the reports.

Ans.

  1. Open LDRA tool
  2. Click on Source
  3. Click on Multiple file

One window pop up

4. Give any name ⇒ click on create ⇒ click on system ⇒ add ⇒Ggrocer.c ⇒ ok

5. Test bed analysis window opens ⇒ click NO

6. Now Go to configure on menu bar ⇒ Analysis configure option

7. Static option ⇒ window opens

8. Now click on Find/create buttion ⇒ example ⇒ TBrun_example ⇒ example ⇒ just click on select

9. Go to Macro ⇒ Now click on Find/create buttion ⇒ example ⇒ TBrun_example ⇒ example ⇒ jus click on select

10. Now click on Apply ⇒ OK

11. Go to source ⇒ Run static analysis

12. Result ⇒ the report

B)store the test cases as .tcf file.

Upload the location image where the .tcf file is stored.

Ans.

  1. Open LDRA tool
  2. Click on Source
  3. Click on Single file

4.) Select the Ggrocer.c or any .c file

5.) You can see the uploaded Ggrocer.c file in File view window

6.) Go to sequence ⇒ new ⇒ give an name ⇒ click on code coverage check box

7.) Right click on Ggrocer.c in file view window ⇒ set as black box testing

8.) Go to source ⇒ Run static analysis

9.) Go to extreme test on menu bar

10.) Click on Run Tabular extreme test case ( all the test case pertaining to function in Ggrocery.c file have created). All test created (40).

11.) Go to source ⇒ click on Save file or set to TCF

12.) Save file and send to your mail ID from remote desk Top

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.