Over the past week I've been trying to get some code/test coverage metrics from a new .NET Core project I've been working on. Because the RTM of .NET Core is still quite new not many code coverage tools support it. But I noticed in the .Net CoreFx library on
While revising for a recent Microsoft exam I've come across the Microsoft Fakes Framework. I'd not been aware of this before, but surprisingly it's been available since Visual Studio 11 (and potentially earlier).
The Microsoft Fakes framework is a mocking tool that's built into Visual Studio. At present it's
Further to my last post of client side testing I thought I'd quickly share a problem I've encountered with promises while writing clientside tests for an Angular application using Jasmine and Sinon.
As an example, I've got a
products controller that uses a
dataContext object to read an
Recently I've been working with clientside unit testing for an Angular project. The tests I've been creating have been using Jasmine for unit testing and Sinon (http://sinonjs.org) for spies, stubs and mocks, so I thought it might be useful to quickly blog about what I've learnt using Sinon.