Omgili - forum search, search forums  
  

Discussions about moq and rhino

Displaying 1 - 10 out of 103 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
We are Silverlight Unit Test Framework for testing. Which one will be better for my team? Rhino Mocks or Moq. No one has any experience with using a framework like this. What are the pros and cons of using each framework in this environment?
Started by on , 3 posts by 3 people.  
Rhino Mocks has been, and the Arrange Act Assert (AAA)....
Take a look at both, and see which syntax suites you and your teams skillset .
Different than doing so in full .NET RM is said to have steeper learning curve, and MoQ allegedly has.
I tried with NMock2 but I get TypeLoadExceptions when trying to pass the mocks into the constructor, also I saw TypeMock can do that but it costs 80$
Started by on , 3 posts by 3 people.  
Moq does not support mocking out/ref parameters, but you can do it using Rhino Mocks using OutRef); Assert.AreEqual(5, result); I found out myself, you can actually do that with Moq, it's like this: var info.
Which one do you use (if you use the listed ones) and what do you love and even hate about it?
Started by on , 16 posts by 16 people.  
I switched to Moq and haveI use Rhino Mocks....
I started usuing MOQ because later is still tricky (or was the last time I used Rhino Mocks).
I've used Rhino and MOQ, but my preference is Rhino.
Tale data.
Ask your Facebook Friends
I am using Moq - but could easily swap to another mock framework if needed . I have a interface defined: public interface IBaseEngineManagerImp { void SetClientCallbackSender(IClientCallbackSender clientCallbackSender); } I then mock IBaseEngineManagerImp...
Started by on , 3 posts by 3 people.  
C.DoSomething()); In rhino, you use WhenCalled or GetArgumentsForCallsmadeOn : Thingy argument; mock .Stub(x.
I cannot find a specific feature-by-feature comparison of Moq and Rhino. All the questions are "which do you like better and why", or "here's how you do a simple mock in rhino and how it's done in moq". I cannot find a deep comparison anywhere. I'm aware...
Started by on , 5 posts by 5 people.  
I'm not an expert by any means, but I believe the Rhino added some of the Moq syntax so for the moq features Check here for the Rhino Mocks features Thanks to those that responded over that the learning curve has been reduced....
Where can I find comprehensive documentation for MOQ? I'm just starting with mocking and am having difficulty getting my head around it. I've read through all the links at http://code.google.com/p/moq/wiki/QuickStart but can't seem to find a tutorial ...
Started by on , 8 posts by 6 people.  
Have you watched Introduction to Mocking with Moq ? Have you read the linked pages at http://code.google.com/p/moq/wiki/QuickStart ? for example this one Yes - I read Stephen Walthers article://www.bestechvideos.com/2008/06/08/dimecasts....
I'm new to mocks and am deciding on a mock framework. The Moq home quotes Currently, it's the only mocking library that goes against the generalized and somewhat unintuitive (especially for novices) Record/Reply approach from all other frameworks. Can...
Started by on , 3 posts by 3 people.  
I've ....
So my advice would be to go for Moq.
I find it to be produce much more readable code .
The Moq variant of this code I discovered Moq I only use Moq.
Block is the Record phase and the Verify block is the Replay phase .
I'm trying to mock MouseButtonEventArgs.GetPosition() with Moq, but I keep receiving this error: System.ArgumentException: Invalid setup on a non-overridable member: m => m.GetPosition(It.IsAny<IInputElement>()) at Moq.Mock.ThrowIfCantOverride...
Started by on , 3 posts by 3 people.  
Moq (this is the spec of the language....
This is because of the way C#/.NET are structuredThis error means that you're trying to fake a method which is not declared as virtual .
It with MOQ, Rhino Mocks, or most other mocking frameworks.
The class I want to test is my ArticleManager class, specifically the LoadArticle method: public class ArticleManager : IArticleManager { private IArticle _article; public ArticleManger(IDBFactory dbFactory) { _dbFactory = dbFactory; } public void LoadArticle...
Started by on , 5 posts by 5 people.  
I'm incorrectly specify the setup, it never gets called, and Moq defaults to its default behavior which above, and I'm sure we can figure....
Preface: I'm not familiar with using Moq (Rhino Mocks user here) so I may miss a few tricks.
Updated version of question Hi. My company has a few legacy code bases which I hope to get under test as soon as they migrate to .NET 3.5. I have selected Moq as my Mocking framework (I fell in love with the crisp syntax immediately). One common scenario...
Started by on , 5 posts by 4 people.  
Even the powerful TypeMock may not be able to do what you're .
This work with either Moq or RhinoMocks.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost