Challenge

Project 2 - V&V SW Analysis II

LIVE BATCH 14 EMBEDDED SYSTEMS [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 the files to be tested under integration test from the new window.
  4. Add->LDRA_workarea\Examples\Toolsuite\Cashregister_5.0\ src->select all .c files in cashregister.c folder -> ok.

  5. Test bed analysis window will open and choose no.
  6. Create a sequence and give a name for the sequuence.
  7. Enable code coverage and click ok.
  8. Make the files as under black box testing.
  9. Run static analysis.
  10. After completion, go to configure and select analysis configure option under which select static option.
  11. In the new window, click on find/create and select the path of .dat file.
  12. Under Macro, click on find/create and select the path for the file.
  13. Click apply and then okay.
  14. Go to extreme test case and run tabular extreme test cases.
  15. After completion get the test manager report from results.

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.