Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a quickstart that actually compiles #112

Closed
Meai1 opened this issue May 20, 2014 · 1 comment
Closed

Provide a quickstart that actually compiles #112

Meai1 opened this issue May 20, 2014 · 1 comment

Comments

@Meai1
Copy link

Meai1 commented May 20, 2014

An IFoo is used but I have to implement everything myself. Resharper does a good job, but still, for example I dont understand how to fulfill the lazy evaluated return param.

Why not give the IFoo in the example?

@stakx
Copy link
Contributor

stakx commented Jul 10, 2017

Fixed the code in most sections of the quickstart (all except the "Event" and "Linq to Mocks" secions), and I suspect that the quickstart looked way worse when this issue was opened... so I'll close this for now.

In my opinion, the quickstart guide would profit much more from examples that were slightly more "real-world" examples, or at least a little bit more coherent; the IFoo type currently given is just a big blob of random methods and properties that don't make much sense. Contrast this e.g. with NInject's ninja and weapon examples; that kind of example code (while not exactly representative of real-world code :-) is still much more illustrative than what we currently have for Moq.

@stakx stakx closed this as completed Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants