In this post I will go over some fundamentals of NSubstitute, and compare them to how things work in the more well known Moq library.
From http://www.dansolovay.com/2015/10/nsubstitute.html
My bookmarks and blogposts regarding Software Development in .NET, C#, Angular, JavaScript, CSS, Html
In this post I will go over some fundamentals of NSubstitute, and compare them to how things work in the more well known Moq library.
From http://www.dansolovay.com/2015/10/nsubstitute.html
Download free virtual machines to test Microsoft Edge and IE8 to IE11:
Source: Free Virtual Machines from IE8 to MS Edge – Microsoft Edge Development
Start coding sooner with a virtual machine prepped for Windows 10 development. It has the latest versions of Windows, the developer tools, SDKs, and samples ready to go:
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines
With the addition of the async/await keywords in .NET Framework 4.5, many more methods will now return Task<TResult>. For example, a web service method can now be created to return Task<TResult> so it is ready for the async/await keywords. This brings up the question on how you can unit test these methods.
Read more: http://www.intertech.com/Blog/creating-a-task-with-a-known-result/#ixzz3xSNIAWB7
Fluentassertions : Fluent Assertions is a set of .NET extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style test. We currently use it in all our internal and client projects, and it is used in many open-source projects. It runs on .NET 3.5, 4.0 and 4.5 (Desktop and Windows Store), Silverlight 4 and 5 and Windows Phone 7.5. And it supports the unit test frameworks NUnit, XUnit, MBUnit, Gallio and MSpec.
Source: Fluentassertions