Thursday, March 7, 2019
Case Study for White Box Testing
White Box Case Study 1. cosmos In white-box examen, the purpose is to ensure that the all the code has been studyed and covered. at that place are different report cardage measures depending on the level of detail of the white-box test. The coverage measures whitethorn also be applied to integration testing and constitution testing. 2. Learning Objectives The exercise aims at giving an understanding of white-box. The specific cultivation goal is to gain a detailed insight into the concept of white-box testing using coverage measures. fitting 1 Look at the course of study below. How many feasible paths are there for this program? Define a set of test cases that gives you 100% coverage of all the feasible paths. arousal (score) If score 45 then print (fail) else print ( work) If score 80 then print ( with distinction) End Assignment 2 In this weeks lab session you pass on test the NextDate program with white-box techniques. Get an understanding of how the program works, th e code is lendable here Assignment 4 Make flowgraphs of the methods in the NextDate class.Assignment 5 Prepare test cases based on the flowgraph. Calculate the minimum issuing of test cases if the goal is 100% Statement coverage 100% close/branch covergae 100% Condition coverage 4. Exercise (on computer) Assignment 6 Now we would like you to thoroughly test the NextDate program using white-box testing. You should carry out the testcases you have prepared on paper using statement, decision,and condition coverage. kinda implement them using JUnit. Implement more test cases if you realize that you deep in thought(p) any during the conceptualisation.Remember to specify test case ID, what is tested, description, input, expected siding and other useful information while executing your test cases. You may also want to make room for pass and fail notes and maybe for comments. Record your test results carefully for your test report. Report The purpose of the report is to discuss the result of the exercise and related topics. Following parts should be included, 1) conclusions from the lab session, 2. Describe the outcome of your tests.Discuss the assignments and include the following The flowgraphs from the preparation assignment. The test cases. Remember to specify the associated test technique to apiece test case. Also, specify the coverage measure of each method used. Defects detected. Which coverage criteria works best and why? When is each coverage criteria most applicable? correspond black-box test techniques (used in lab session 1) and white-box test techniques. Discuss advantages and disadvantages with each and when they are appropriate to use.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment