On Mon 17 Aug 2009, Bob Walker bob@randomness.org.uk wrote:
The last few days I've been hacking together some more tests and indeed have now read our entire suite of tests. While I was doing this I noticed that we seem to have several ways of doing things so it might be worth deciding on the best. [...] Finally a couple of the test files have useful subroutines in them whch should probably be put into Openguides::Test.
So thoughts, questions or indeed comments?
Good work! I think the inconsistencies you've identified are basically artefacts of the test suite having grown organically as and when needed... we didn't have OpenGuides::Test to start with, and I'm sure I remember thinking that at some point the older tests should be refactored to remove all this repeated code.
I agree that as much as possible should be moved into utility subs in OpenGuides::Test.
Kake