I'm creating a library for Universal Windows Platform apps ("Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
under dependencies
and "uap10.0": {}
under frameworks
in project.json
). I just started writing tests, but I can't seem to find any mocking library which would support the Universal Windows Platform apps. The only one is MoqaLate, but it's very new and severely limited.
I can't see myself testing without mocks, but I'm also new to UWP development. Am I missing something, or it really is impossible to use mocks in my tests? If so, what are alternatives?
Edit: One alternative I see is to develop Windows Class Library (Portable) which would target only Windows Universal 10.0. Is there any gotcha with this approach I should be careful about? My goal is to have a library that can be used in Windows 10 apps (on mobile, desktop and xbox).