Software Testing Black Box Flashcards
What is the main purpose of software testing?
To ensure the software meets functional requirements and is free of errors
Testing is necessary to validate the software’s functionality and quality.
What is Black Box Testing?
A testing technique that evaluates the functionality of an application without knowledge of its internal workings
Also known as functional testing.
What are the key characteristics of Black Box Testing?
- Conducts tests based on functional requirements
- Finds errors based on external behaviors
- Does not require knowledge of internal software workings
What is White Box Testing?
A testing technique that focuses on the internal structures or workings of an application
Also referred to as structural testing.
What skills are required for White Box Testing?
Programming skills and knowledge of the internal workings of the software
What is the ultimate goal of White Box Testing?
To cover all possible paths of execution of the program
List some test design techniques used in Black Box Testing.
- Equivalence Partitioning
- Boundary Value Analysis
- Decision Table Testing
- State Transition Testing
List some test design techniques used in White Box Testing.
- Path Testing
- Loop Testing
- Conditional Testing
- Mutation Testing
What are the key components of a Test Case?
- ID
- Test Scenario
- Test Data
- Expected Results
- Actual Results
Fill in the blank: Black Box Testing is also referred to as _______.
functional testing
Fill in the blank: White Box Testing is also referred to as _______.
structural testing
What is Equivalence Partitioning?
A testing technique that divides input values into classes to minimize the number of test cases while achieving good coverage
It helps identify representative values for testing.
What are the classes of partitions for a banking system offering variable interest rates?
- <=$0
- $1 to $1000
- $1001 to $2000
- > =$2001
What is the significance of Acceptance Criteria in use case testing?
Defines the conditions under which a use case is considered successful
What happens when a lecturer enters the correct user ID and password in the attendance system?
The system displays the lecturer’s main page
What occurs if a lecturer enters the wrong user ID?
The system prompts for re-entering the user ID and password
What is the expected result for a Senior member booking the 30 seats function room for 5 hours?
$1550.8
True or False: Black Box Testing requires knowledge of the internal workings of the software.
False
True or False: White Box Testing aims to identify errors based on external behaviors.
False
What is a basic flow in use case testing?
The sequence of steps that occur when the user interacts with the system successfully
What is an alternate flow in use case testing?
An alternative sequence of steps that occurs when there is an error or exception