Project 2 - V&V SW Analysis II
Steps for project 2
- Perform Static Code Review Analysis for “C:**LDRA_workareaExamplesC_Testbed_examplesTestrainTestrain.c” Generate Code review report and upload them.
Static Code Review Analysis
- Open the LDRA tool suite -EE Tbrun 9.8.3(in my case)
- Click on the left arrow in the left side of the window and then click default view.
- Click on sourceàSingle fileà“C:**LDRA_workareaExamplesC_Testbed_examplesTestrainTestrain.c” àSelect
- LDRA toolsuite question window popupàClick NO.
- Create New Sequenceàgive sequence nameàcheck the code coverage boxàClick continue.
- In file view window in càDouble click on itàmake it as black box.
- Then GO to Source againàClick RUN STATIC ANALYSIS.
- Then Go to Result tabàClick task Manager reportàclick ctrl+pàMicrosoft print to pdfàclick Ok(it will save the report as .pdf file in your system hardware)
2.a) Perform Integration testing by including all the .C files available in the folder location C:**LDRA_workareaExamplesToolsuiteCashregister_6.0 ** A)Create the test cases manually as well as automatically using TBExtreme and upload the reports.
- Open the LDRA tool suite -EE Tbrun 9.8.3(in my case)
- Click on the left arrow in the left side of the window and then click default view.
- Click on sourceàMultiple file
- New Window will pop upà Give any name and click create.
- Click on createàclick on systemàClick addà”LDRA_workareaExamplesToolsuiteCashregister_6.0 src” àselect all .c files in cashregister.c folder à Click ok
- Create New Sequenceàgive sequence nameàcheck the code coverage boxàClick continue.
- Keep it as black box.
- Then GO to Source againàClick RUN STATIC ANALYSIS.
- Now Go to Configure menu baràAnalysis Configure optionàStatic OptionàClick on Find/Create buttonàExampleàC_Tbrun examplesàclick on .dat fileà
- Now GO to Macroà Click on Find/Create buttonàExampleàC_Tbrun examplesàclick fileàselectàClick on OK.
- Then go to the Extreme test in the menu bar.
- Then click on the Run tabular extreme test.
- Let it run all the test case in the selected file
- After that all test cases will be created.
- Then Go to Result tabàClick task Manager reportàclick ctrl+pàMicrosoft print to pdfàclick Ok(it will save the report as .pdf file in your system hardware)
- Or you can Go to Result tabàClick Regression reportàclick ctrl+pàMicrosoft print to pdfàclick Ok.
- B)store the test cases as .tcf file. Upload the location image where the .tcf file is stored.
- After performing automation test on cashregister.càGo to sourceà click on Save as or set to TCFàClick OK.
- Select path to store .tcf file (Path Image attached for your reference).