Challenge

Project 2 - V&V SW Analysis II

EMBEDDED LIVE BATCH (Preethi)

1 Static code analysis

  1. Open LDRA tool and load the file Ggrocer.c through source-> single file.
  2. Select the Ggrocers.c file and click ok.
  3. Create a sequence and give a name for the sequence.
  4. Enable code coverage for the sequence and click ok.
  5. For static analysis go to source and select run static analysis.
  6. After completion of static analysis get the test manager report from Results.

2 A

Integration Testing

  1. Open LDRA tool and choose source-> multiple files.
  2. A window will popup and give a name and choose system.
  3. Add->LDRA_workarea\Examples\Toolsuite\Cashregister_5.0\ src->select all .c files in cashregister.c folder -> ok.
  4. Test bed analysis window will open and choose no.
  5. Create a sequence and give a name for the sequuence.
  6. Enable code coverage and click ok.
  7. Make the files as under black box testing.
  8. Run static analysis.
  9. After completion, now go to configure o menu bar and select analysis configure --> select static option.
  10. In the new window, click on find/create and select the path of .dat file.
  11. Under Macro, click on find/create and select the path for the file.
  12. Click apply and then ok.
  13. Go to extreme test case and run tabular extreme test cases.
  14. After completion get the test manager report from results.

2 B

After performing automation test on cashregister.c

  1. Go to source
  2. Click on save as or set as tcf.
  3. Select the path
  4. click save.

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.