Top "Fakeiteasy" questions

A .Net framework to create fake objects, mocks, stubs, etc.

Are fakes better than Mocks?

I stumbled upon this open source project Fake It Easy, and I have to admit, it looks very interesting, however …

c# unit-testing mocking fakeiteasy
Getting arguments passed to a FakeItEasy-mock without using magic strings?

I have been using Moq for my mocking needs the last years, but after looking at FakeItEasy i wanted to …

c# unit-testing moq fakeiteasy
How to test for exceptions thrown using xUnit, SubSpec and FakeItEasy

I’m using xUnit, SubSpec and FakeItEasy for my unit tests. I’ve so far created some positive unit tests …

c# unit-testing bdd xunit fakeiteasy
Why does FakeItEasy throw this exception, and why does making the method virtual fix it?

I have a test (code is below) to test that Method1 calls Method2. The exception I'm getting is The current …

c# asp.net-mvc testing fakeiteasy
Using FakeItEasy, how to get the value set on a property on a fake?

Using FakeItEasy, I am trying to capture the setting of a property value on a fake object: First the interface: …

c# mocking fakeiteasy