Stories about writing tests and testing code.
Do you want to start writing unit tests? and you don't even know where to start? Let's write our first unit tests in C# with MSTest.
Let's unit test a C# extension method using XUnit's [Theory] and [InlineData] attributes, so we can write lots of tests in little time!
Let's write unit tests for our ASP.NET Core MVC Controller classes, using the goodness of XUnit, Moq, and C#!
Let's write some unit tests! Using Moq and XUnit, let's see how to unit test a sample ASP.NET Core project's business layer.
Using Moq, we'll create a set of "fluent" mocked classes, which will clean up our tests by allowing us to "chain" methods being mocked.
We needed to see which of many tasks, executing asynchronously, was taking too long. Stopwatch and ContinueWith were the solution!
Should code review include manual testing? Yes! No! Maybe! Opinions are divided. What's yours?
The Catch Block, C#, Web Tech, ASP.NET, tutorials, projects, and more!
You've successfully subscribed to Exception Not Found
Welcome back! You've successfully signed in.
Great! You've successfully signed up.
Your link has expired
Success! Your account is fully activated, you now have access to all content.