Any Good tutorial on FakeItEasy [closed]
Asked Answered
A

2

5

We are considering using FakeItEasy to be our mocking framework.

To conduct a workshop for the team on FakeItEasy, I am looking for a good tutorial that explains this framework in much details. I tried looking at the documentation at github, but found it very succinct.

If you know a good elaborate page/video, could you please point me to it. Thanks.

Allograph answered 21/9, 2013 at 6:51 Comment(1)
Take a look at this free book by syncfusionImpartial
T
9

Have you looked at Patrik Hägne's sample/tutorial? It's a little old, but may help.

As you noticed, the documentation could use some fleshing out. We're working on it.

An alternative would be the PluralSight FakeItEasy course. I've watched it and thought it to be quite good. I think it's short enough to watch as part of their free trial.

Me, I was familiar with mocking concepts and just tried it out. The fluent syntax guided me along well enough. Try it - you may be pleasantly surprised.

Tasso answered 21/9, 2013 at 23:20 Comment(0)
M
7

I suggest you find a "general purpose" tutorial on Mocking and update it with FakeItEasy API. A while back I wrote simple tutorial using Moq & Isolator which is a good place to start:

This is the basic Mocking functionality that all Mocking frameworks share. There are other similar tutorials on the web - just Google it.

Remember that most of FakeItEasy functionality is available from the same entry point - "A.", just explore the API and the minimal documentation to find how are things done.

Muenster answered 23/9, 2013 at 10:25 Comment(2)
The code text in those posts is cut off on the right edge.Inset
I'll fix those - thanks for letting me knowMuenster

© 2022 - 2024 — McMap. All rights reserved.