0% found this document useful (0 votes)
5 views6 pages

Unit 5-5

Uploaded by

Chetan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

Unit 5-5

Uploaded by

Chetan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

CONTROL STRUCTURE TESTING

Control structure testing is used to increase the


coverage area by testing various control structures
present in the program.
• 1. Condition Testing

• 2. Data Flow Testing


• 3. Loop Testing
Condition Testing:
Condition testing is a test cased design method, which ensures
that the logical condition and decision statements are free from
errors.
Data Flow Testing: The data flow test method chooses the test
path of a program based on the locations of the definitions and
uses all the variables in the program.
Loop Testing: Loop testing is actually a white box testing
technique. It specifically focuses on the validity of loop
construction.
• Simple Loop
• Concatenated Loops
• Nested Loops
• Unstructured loops
BLOCK BOX TESTING

Black box testing is a technique of software testing which examines


the functionality of software without peering into its internal
structure or coding.

In this method, tester selects a function and gives input value to


examine its functionality, and checks whether the function is giving
expected output or not.

Types Of Black Box Testing:


1. Functional Testing

2. Regression Testing

3. Nonfunctional Testing
Functional Testing: Functional testing is defined as a type of testing that
verifies that each function of the software application works in conformance
with the requirement and specification. This testing focuses on checking the
user interface, APIs, database, security, client or server application, and
functionality of the Application Under Test.
Regression Testing: Regression Testing is the process of testing the modified
parts of the code and the parts that might get affected due to the
modifications to ensure that no new errors have been introduced in the
software after the modifications have been made.
Nonfunctional Testing: Non-functional testing is a software testing
technique that checks the non-functional attributes of the system.
It focuses on the software’s performance, usability, and scalability.
Advantages:
 The tester does not need to have more functional knowledge or
programming skills to implement the Black Box Testing.

 It is efficient for implementing the tests in the larger system.

 Tests are executed from the user’s or client’s point of view.

 Test cases are easily reproducible.

 It is used to find the ambiguity and contradictions in the functional


specifications.
Disadvantages:
 There is a possibility of repeating the same tests while implementing the
testing process.

 Without clear functional specifications, test cases are difficult to


implement.

 It is difficult to execute the test cases because of complex inputs at


different stages of testing.

 Sometimes, the reason for the test failure cannot be detected.

 Some programs in the application are not tested.

 It does not reveal the errors in the control structure.

 Working with a large sample space of inputs can be exhaustive and


consumes a lot of time.

You might also like