Testing Code
- Is my lookup test any good?
- No, it is incredibly cursory.
- At Microsoft, the test to modify code on VB1 took 4 hours.
- They ran a two week test cycle on XL.
- Extreme programming, develops code around tests.
- Tests are extremely important.
- What other things could I test?
- All characters for one.
- Multiple characters (b twice).
- No characters.
- You can also use asserts to bullet proof your code.
- This code is far from bullet proof on even this simple example.