Project 2 - V&V SW Analysis II
- Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them.
ANSWER:
Procedure
- Perform static code analysis for testrian.c
- The file location for the file is C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c”
- select source and select run static code analysis
- Test report is obtaoned from the results and is attached along
Result
- Performed Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c”
- Generated Code review report and uploaded them.
- 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. B)store the test cases as .tcf file. Upload the location image where the .tcf file is stored.
ANSWER:
Procedure
- Integration testing is performed foe all .c files in the Cashregister_6.0
- Select source , select multiple file create a file add the required .c files for testing and create file
- Cashregister.c,userinterface.c and main.c are chosen for testing
- Stub management is done by creating sequence
- Static code analysis id done and result is obtained from test manager report
- White box testing is done for multiple files
- Testing is done by selecting run extreme tabular test
- Regression report, Dynamic coverage test report is analyzed
Figure 1-10shows the procedure performing integration test for multiple files
Perform Integration testing
Managed stub
Run extrem tabular
Cashregister.c statement coverage 91% and brance decision coverage 89%
Userinterface.c 100% coverage
Main.c 0% coverage
save Export .tcf file
Result
- Performed Integration testing by including all the .C files available in the folder location C:\**\LDRA_workarea\Examples\Toolsuite\Cashregister_6.0\ **
- A)Created the test cases manually as well as automatically using TBExtreme and upload the reports
- B)Stored the test cases as .tcf file. Upload the location image where the .tcf file is stored