I am testing an application that performs validation on transactions (checks for 9 different things). The 9 checks are carried out in a specific order; i.e. check 1 is always carried out before check 2, 2 before 3 so on and so forth.
So I need to check if the data passes the first validation and fails the second the error is trapped; if validation 2 passes and 3 fails an error is trapped and so so…
Also I need to check validation 2 has stronger weighting than 5 etc.
Does anyone know how to piece together the data to ensure coverage, a graph or datasets that can be used to ensure coverage??
Re: Test Coverage, Covering All without covering all
Just the way branch testing is performed for checking conditions in the application, you have use the same method. Just prepare the data in such manner that first set of data fails at first validation level, second level of date passes first level but fails at second level and so on. Same you can represent pictorically. In graphical representation, you can show the validations at each stage so interpretation is each.