Comments (3)
Yes, you are right.
Of course you could have fixed that directly by yourself - it's a wiki after all :-)
It's fixed now.
from ninject.mockingkernel.
Hello fawei,
sorry for that!
We have our git servers running inhouse, so i never get too deep into github structure and possibilities.
Next time i will fix it by myself.
In addition, i have tested your library yesterday and it is really great so far, thank you!
Just one thing, some things are a bit tricky for starters and would be much easier if there would be some better documentation.
Like when classes get mocked and when not, things like that. Of course itβs not too hard to find out yourself but i think for a starter it would be much easier with some documentation on that subject.
Anyway, itβs a wiki so i can write some stuff on my own, right? ;)
Best Regards
Robert
Von: fawei [mailto:[email protected]]
Gesendet: Donnerstag, 10. Januar 2013 17:55
An: ninject/ninject.mockingkernel
Cc: Robert Schadt
Betreff: Re: [ninject.mockingkernel] sourcecode example contains an error (#12)
Yes, you are right.
Of course you could have fixed that directly by yourself - it's a wiki after all :-)
It's fixed now.
β
Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-12106502.
from ninject.mockingkernel.
Just to get things straight, I'm not the developer of this project! All praise belongs to remogloor :)
I just added the example to the wiki, because I also found it a bit hard to get started without an example.
If the description in the wiki ist still unclear, please expand it. One simple rule would be, that interfaces/classes with a normal binding are never mocked. Only if you didn't define a binding or explicitly defined a mock binding, ninject will give you mocked instances.
from ninject.mockingkernel.
Related Issues (20)
- Using with nsubstitute ? HOT 3
- Release new stable build to Nuget
- problem with automocking named interfaces HOT 2
- NSubstitute is on a current version of 1.8.1 HOT 1
- Cannot find kernel Get<T> method HOT 1
- Incorrect version dependency for Ninject.MockingKernel.Moq NuGet package HOT 4
- Could Not Load Type 'Ninject.MockingKernel.AdditionalInterfaceParameter' HOT 3
- Test passes with StandardKernel, but Fails With MockingKernel HOT 1
- "Simple" example? HOT 4
- GetMock() method is missing from RhinoMocksMockingKernel HOT 1
- GetMock() - Object instance was not created by Moq. HOT 4
- Setup a mocked injected object HOT 4
- MockingKernel and Received throws an NotASubstituteException HOT 1
- Is able mocking a concrete class? HOT 2
- When will there be a new version that supports latest FakeItEasy (v3.1.0)? HOT 1
- How to create StrictMock? HOT 1
- NSubstituteMockingKernel + .NET 4.5
- Unable to bind generic list
- Problem FakeItEasy Ninject WebServer HOT 1
- MoqKernel.GetMock<T> throws ArgumentException when T is Func<...> HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ninject.mockingkernel.