Input Space Partitioning Flashcards
What is input space partitioning?
Dividing a set of possible inputs into equivalence classes. Then we can test one input from each class
What are the 3 steps to input space partitioning?
Identify the component being tested
Identify the possible inputs
Develop an input domain model
An input domain model is a way to _______ possible inputs, partitioned by __________
describe, characteristics
The partitions in the input space must be _______ and ______ the entire domain
disjoint, cover
Care and design is required to prevent _______________ partitions (parallelograms)
overlapping
Using ________ _____ can guarantee disjointness and can be automated
boolean partitions
What are 2 approaches to input modelling?
Interface Based
Functionality/Requirements based
What is an interface based approach to input modelling? What are some strengths?
Create your model based on the inputs required for a component. It’s simple and automatable
What is an functionality based approach to input modelling? What are some strengths?
Derived from the expected input/output relationship by the spec. It can take more though, but could be better as it’s more goal oriented
What are some typical characteristics?
Preconditions
Postconditions
Relationships to special values
Relationships between variables
Boundary values suggest that not all values are _____, even in an equivalence class
equal
We can ______ partitions to cover more behaviour
subdivide