Challenge

Project 2 - V&V SW Analysis II

Perform Static Code Review Analysis on Testrain.c and generate a code review report.

2. Conduct Integration Testing on all .c files in the Cashregister_6.0 folder, using both manual and automatic test cases (via TBExtreme).

3. Store test cases as a .tcf file and upload an image showing the storage location.

---

Task 1: Static Code Review Analysis (Testrain.c)

Steps:

Open LDRA Testbed and load Testrain.c from C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\.

Perform static analysis to check for:

Coding standard violations (MISRA, CERT C, etc.)

Memory leaks, buffer overflows, and other vulnerabilities

Dead code and unused variables

Generate and save the Code Review Report.

---

Task 2: Integration Testing (Cashregister_6.0)

Steps:

Load all .c files from C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\.

Configure stub management for external dependencies.

Manual Test Case Creation:

Define inputs, expected outputs, and validation criteria.

Automatic Test Case Generation (TBExtreme):

Enable TBExtreme and generate test cases for integration testing.

Test Execution:

Run tests and validate results.

Report Generation:

Create test reports covering coverage analysis, pass/fail status, and integration test results.

---

Task 3: Store Test Cases as .tcf and Upload Location Image

Steps:

Save all test cases as a .tcf file within LDRA.

Take a screenshot of the .tcf file storage location.

---

Next Steps

Execute the tests and generate reports.

Capture the .tcf file storage location and upload the image.

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.