Lecture 2: Functional Testing Flashcards
What is verification?
checking if product is built in the RIGHT WAY; i.e. build product that fulfill specs
What is Validation?
checking if RIGHT PRODUCT is built!
i.e. meet user’s requirements/needs
What is functional testing?
creating test based on program specifications; i.e. used for verification
What are the alternative names of Functional Testing?
- Black-box Testing
2. Specification-based Testing
How do you use RANDOM Testing?
Randomly generate input values based on some constraints
What is Systematic Testing?
attempt to select valuable inputs based on specification and constraints.
What is systematic partition testing?
breaking down of ALL possible inputs into different partitions; so as to increase testing coverage
Why do we use functional testing?
- Timely
- Effective
- Widely Applicable
- Economical
- Works for all GRANULARITY LEVEL: i.e. unit, integration, system, regression
What granularity of tests can Structural Testing be used for
- Unit
2. Integration
What are the 5 steps to generate test case from specifications?
- Identify INDEPENDENTLY testable features
- Select representative values for each input
- Create model to represent behavior
- Formulate Test Specifications
- Produce and Execute Tests