Is QuickIO.NET mockable?

Aug 22, 2014 at 11:46 AM
Unittesting code that involves file system access is always a hassle. Therefore it wouly be nice to mock file system access. Is this feature implemented or planned to implement?
Aug 22, 2014 at 12:01 PM
Edited Aug 22, 2014 at 1:52 PM
No, QuickIO itself is not mockable and I do not recommend simple mocks for fileaccess or time calculations.
For both cases you should use Fakes/Shims instead of Mocks. It is also called 'isolated testing'.

Check out
Isolating Code Under Test with Microsoft Fakes

Greets
Marked as answer by BenjaminAbt on 9/11/2014 at 2:18 AM