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

Environment Setup – Rhino Mocks Tutorial

Rhino Mocks is very easy to setup. There is only one single DLL “Rhino.Mocks.DLL” needs to be included. There are two options to include Rhino Mocks in your solution. Setup solution using Direct download We can directly download “Rhino.Mocks.DLL” from https://www.hibernatingrhinos.com/oss/rhino-mocks Click on the “Download” link in the left Navigation. This will …

Environment Setup – Rhino Mocks 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