To trigger a xUnit test run after a successful build,
add this to the project “Build Events” / “Post-build event command line:”
(You need xUnit runner console nuget package installed for this, above is for the 2.2.0 version).
Will produce something similar to this in the Output window “Build”:
xUnit.net Console Runner (32-bit .NET 4.0.30319.42000)
=== TEST EXECUTION SUMMARY ===
MyApp.UnitTests Total: 8, Errors: 0, Failed: 0, Skipped: 0, Time: 1,120s
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.
Download free virtual machines to test Microsoft Edge and IE8 to IE11:
Source: Free Virtual Machines from IE8 to MS Edge – Microsoft Edge Development
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