Project 2 - V&V SW Analysis II
1.
Static code analysis :
- Open LDRA tool and load the file Testrain.c through source-> single file.
- Select the Testrain.c file and click ok.
- Create a sequence and give a name for the sequence.
- Enable code coverage for the sequence and click ok.
- For static analysis go to source and select run static analysis.
- After completion of static analysis get the test manager report from Results.
2. Integration Testing :
- Open LDRA tool and choose source-> multiple files.
- A window will popup and give a name and choose system.
- Create a sequence and give a name for the sequuence.
- Enable code coverage and click ok.
- Make the files as under black box testing.
- Run static analysis.
A) MANUAL TESTING :
- Go to test case, and select create test case.
- Procedure window will pop open and choose a function from the list and click ok.
- Choose standard option and click on continue.
- From the file view window, choose the function selected and select procedure code inorder to analyze the code for 100% coverage.
- In the Variable I/O window assign the inputs and outputs with respect to 100% coverage.
- After that go for run driver and select Run driver.
- After the tests finishes, we can get the result in a window.
B)After performing automation test on Ggrocers.c
- Go to source
- Click on save as or set as tcf.
- Select the path
- click save.