HIT 2020Spring Software Construction 0306
Black-box Testing
Black-box need to consider the specification and test cases in this process is created according to the separation of the equivalence class. It is a very important part in the exam since we are required to divide test cases appropriately. It will also figure out whether the goal of the program have been achieved.
In the exam, we should follow the above rule to write down the division of certain equivalence classes. Usually, we should cover all the possible combinations of these equivalence classes.
Here is a good example for a possible cover.
White-box Testing
In the white-box testing process, the point of tests is to evaluate the code. Since we are completely aware of the code structure, we need to construct test cases which make the most part of codes tested. White-box testing will not focus on the function of the project while it needs to cover as many codes as possible.
Effect: Path Coverage Branch Coverage Statement Coverage
Cost: Path Coverage Branch Coverage Statement Coverage
It is only a post for what I want to record for the specific course and it does not stand for the whole content.