in reply to Passing data between modules using Test::Class
Why is this useful? If you're only testing B with good output from A, what happens when B gets bad input? You haven't tested that if you're dependent on the real A providing data; you've only tested the "got good data" paths. Depending on the complexity of A's output and B's processing, this could leave a lot of code untested.
Since this has to do with actual money (and possible losses thereof) I'd want to make sure I had tested all the code paths.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing data between modules using Test::Class
by arc_of_descent (Hermit) on Dec 15, 2006 at 09:17 UTC |