in reply to Re: How to make a module aware it is being tested?
in thread How to make a module aware it is being tested?
Your idea of flagging to the module it is being tested is good, but it means I have to rewrite all my tests to add that flag and in the future may not forget to use that flag.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to make a module aware it is being tested?
by Anonymous Monk on Nov 02, 2007 at 03:58 UTC | |
by CountZero (Bishop) on Nov 02, 2007 at 09:30 UTC |