> Um, noooooo ... that is impossible, unless you have an infinite > amount of time to wait for your tests to complete.
okay, I oversold it - you don't really test for EVERY possible input, only those that you already know will make a difference (there are only a limited set of states that are necessary to test, those being the ones your code is conditional upon) for example if input is either 'A' or 'B' or nothing, but code has no logic checking on input value, but perhaps only input length, then there need be no tests for the 'A' and 'B' states, only a test for the length dependant code > Covering every statement is *very* different from covering every > possible state, and only the latter guarantees correctness. Tell me, > how many states does your program have? How soon are you expecting > the universe to collapse? White box exists, and combined with black box, makes a very solid system. A white box test in Java would have every unique test case, and assert values after each line of code. John --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]