A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
How to unit test view model validation, focusing on the controller when the model is bound to a controller action. Welcome to part 4 in the TDD for ASP.NET MVC series. This time, I'll cover how to ...
Sometimes what you want to test is how your Action method behaves when it's invoked through an AJAX call. Here's how to mock up that call using Moq. In an earlier column on using Moq to create unit ...
Unit testing is the process that tests units of code to check if it conforms to the accepted results. Unit tests are written to test blocks of code to validate if the tests produce the desired results ...
xUnit.Net is an open source unit testing tool for the .Net Framework that provides an easy way to work with data driven unit tests I’ve been using xUnit for quite some time now, and it’s my Unit ...