> If we go that route, we make an implementation of that > abstraction that works in memory for testing and one that > translates its calls to the Windows registry calls.
Abstraction is great, we use interfaces all the time. But at some point, you just have to implement (and test) your RegistryStorage and FileStorage classes (two implementations of the IStorage interface). To test these, you'll *have* to touch the filesystem and the registry (which is actually a db).
Flat View: This topic has 50 replies
on 51 pages
[
«
|
5678910111213
|
»
]