Testing
Activity performed for evaluating quality of a product and for improving it by identifying defects and problems
Levels(from specific to general):
Unit testing: methods/classes in isolation
Functional Testing: module (1+ units) of user functionality
Integration Testing: Adding tested units to existing code
System Testing: Whole system
Categories of Testing:
Black-box-we can see how a method or class is made, does not consider implementation, evaluates input/output behavior through interfaces
Glass-box-considers implementation, evaluates internal structure
Types of Testing:
Exhaustive Testing-All the possible combinations
Equivalence Testing-Aims at minimizing the number of tests, Groups of input values grouped by their similarity, like (-1, 0, 1) sort of testing. Boundary Testing. Properties of Equivalence: Coverage (every input belongs to one equivalence class), Disjointedness(no input belongs to more than one equivalence class), and Representation (one inputs represent all inputs in the equivalence class)
Boundary Value Analysis:
We make errors at the boundaries. When making equivalence classes, do not test any random value, rather test both sides of the boundary.
Path Analysis
Aims at having tests executing....TO DO
Testing Activity performed for evaluating quality of a product and for improving it by identifying defects and problems Levels(from specific to general): Unit testing: methods/classes in isolation Functional Testing: module (1+ units) of user functionality Integration Testing: Adding tested units to existing code System Testing: Whole system Categories of Testing: Black-box-we can see how a method or class is made, does not consider implementation, evaluates input/output behavior through interfaces Glass-box-considers implementation, evaluates internal structure Types of Testing: Exhaustive Testing-All the possible combinations Equivalence Testing-Aims at minimizing the number of tests, Groups of input values grouped by their similarity, like (-1, 0, 1) sort of testing. Boundary Testing. Properties of Equivalence: Coverage (every input belongs to one equivalence class), Disjointedness(no input belongs to more than one equivalence class), and Representation (one inputs represent all inputs in the equivalence class) Boundary Value Analysis: We make errors at the boundaries. When making equivalence classes, do not test any random value, rather test both sides of the boundary. Path Analysis Aims at having tests executing....TO DO