0

Golden rules of testing

Besides coding, a good developer needs to have excellent testing skills. but what are your golden rules for testing? Are no errors in testing sign of a good program or not?

22nd Oct 2017, 7:11 PM
Gea
Gea - avatar
1 Resposta
0
Have a plan or a script to test from. Write as many possibilities as you can think of, and endeavour to test them. You need to be a little bit pessimistic and think of what can go wrong. Catch errors, don't just rely upon what you've written to work. Eg of using a case statement, always have a final 'else' to catch the unknown or not thought of and if possible log so you can review it. Just because a program runs without errors, doesn't mean one isn't lurking :)
23rd Oct 2017, 2:42 AM
Duncan
Duncan - avatar