I'm a huge fan of unit testing, but still make use of a FGDB to grab features for running unit tests against when using the ArcObjects framework.
Is anyone successfully using mocking against thinks like IFeature, IGeometry, IWorkspace etc. If so, I'd love to see some examples of how you're doing it. I don't really care about what mocking framework you use, just seeing how you're doing it would be greatly appreciated.
The problem I see is that you're having to slice and dice between so many interfaces on the same object, that the overhead of creating a representative mock object would be huge.
No comments:
Post a Comment