Microsoft Interview Question
do 'equivalence partitioning' to decide what the domain of input and then give all of the values from all the classes to test exhaustively.
suppose its an amount field which can accept a 3 digit number.
then -999 to 999 are all possible values in which -999 to -1 it should error out and may accept 0 to 999 values
What code fragments?
- Cheema December 27, 2009