[Yanel-dev] Resource dependencies.

Alec Bickerton alec.bickerton at wyona.com
Fri Feb 20 15:42:11 CET 2009


While looking into the reation of shortURLs, I realised that the
dependencies inhibit writing 'clean' code.

The Resource class has dependencies on difficult to mock classes that
prevent useful testing.

See the patch for details for an example.

Alec,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ResourceCreatorResource.patch
Type: text/x-diff
Size: 80701 bytes
Desc: not available
Url : http://wyona.com/pipermail/yanel-development/attachments/20090220/592=
69c96/ResourceCreatorResource-0001.bin


More information about the Yanel-development mailing list