in reply to The chicken and the egg (or how do I pass the module test)
It sounds, though, like your code doesn't have this kind of granularity for the test suite to test. Perhaps you should consider creating the object either way, as you already suggested. You could then have a status method for it which reports presence or absence of the device. Further future tests could be skipped if the device is not determined to be present.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The chicken and the egg (or how do I pass the module test)
by ruzam (Curate) on Dec 21, 2007 at 21:40 UTC | |
by mr_mischief (Monsignor) on Dec 21, 2007 at 21:43 UTC |