Rhino Mocks Tutorial

Rhino Mocks is the mature dynamic mocking framework for .NET unit testing. It create fake/mock implementation of objects behavior at runtime. Rhino Mocks is open source framework and released under the BSD license. Rhino Mocks works on Arrange, Act and Assert (AAA) pattern. Rhino Mocks allows both State verification and Behavior verification of objects. …

Rhino Mocks Tutorial Read More

NUnit TestFixture C# Tutorial

NUnit TestFixture attribute is a class level attribute and it indicates that this class contains NUnit Test Methods. Below are the topics we covered in this tutorial: NUnit TestFixture Example and Usage Below is the example usage of TestFixture NUnit attribute. Remember: TestFixture can only be placed on class not on …

NUnit TestFixture C# Tutorial Read More

NUnit TestCase C# Tutorial

In our last tutorial, we learned about the NUNit TestFixture attribute. In this tutorial, we learn about the NUnit TestCase attribute and its usage. The TestCase attribute is used for two purposes. Test Method When we assign the TestCase attribute to any method, it lets the NUnit test runner discover …

NUnit TestCase C# Tutorial Read More