Chapter - 3 - Functional (Blackbox) Testing
Chapter - 3 - Functional (Blackbox) Testing
SENG5441-STQA
Chapter – 3 – SOFTWARE TEST TYPES
Functional Testing
• The function of a system (or component) is 'what it does‘.
• Functional Testing - testing performed to evaluate if a
component or system satisfies functional requirements. (ISO
24765)
• This is typically described in a requirements specification, a
functional specification, or in use cases.
• Functional testing considers the specified behavior and is
often also referred to as black-box testing.
• This is not entirely true, since black-box testing also includes non-
functional testing. Software Testing and Quality Assurance 4
1. Requirement-Based Testing
• Creating test cases directly from the functional requirements or
business use cases of the application.
• Can be done by
1. Analyzing functional requirements, specifications, and user stories.
2. Identifying key functionalities and their expected outcomes.
3. Writing test cases for all scenarios, including positive and negative cases.
• Example in banking application:
• Requirement: The system must allow users to transfer funds between
accounts.
• Test Case: Verify fund transfer with valid inputs, invalid inputs, and no inputs.
• IT ensures all documented requirements are covered by tests.
Software Testing and Quality Assurance 7
3. Decision table with combinations and outcomes 5. Decision table with changed outcome
Software Testing and Quality Assurance 16
Reading Assignment
• Exploratory testing
• Regression testing
• Error Guessing
Key terms
• Boundary value analysis
• Decision table testing
• Equivalence partitioning
• State transition testing
• Use case testing