Project 2 - V&V SW Analysis II
Live batch(preethi mam)
1.Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them.
1.Open LDRA tool-->Click on Source--->Click on Single file
2.Select the Ggrocer.c or any .c file--->You can see the uploaded Ggrocer.c file in File view window
3.Go to sequence----> new-->give an name --->click on code coverage check box
4.Go to source-->Run static analysis
5.Go to result-->Test Manager report
2.Perform Integration testing by including all the .C files available in the folder location C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ **
A)Create the test cases manually as well as automatically using TBExtreme and upload the reports.
- Open LDRA tool
- Click on Source
- Click on Multiple file
- One window pop up
- Give any name → click on create → click on system→add→LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ src** → select all .c files in cashregister.c folder →ok
- Test bed analysis window opens → click NO
- Create sequence
- Keep it in black box mode
- Sourceàrun static analysis
- Now Go to configure on menu bar → Analysis configure option
- Static option → window opens
- Now click on Find/create button example TBrun_example/example → jus click on .dat file → select
- Go to Macro → Now click on Find/create button/example/TBrun_example/example→ jus click on select
- Now click on Apply → OK
- Go to extreme test → run tabular extreme test →all test cases will be created automatically
- Result → take the report
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
- ok
- Select path to store .tcf file
