Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion VB.NET Mock Object Framework
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt R  
View profile  
 More options Jan 13 2010, 9:35 am
From: Matt R <mr...@theringworx.com>
Date: Wed, 13 Jan 2010 06:35:34 -0800 (PST)
Local: Wed, Jan 13 2010 9:35 am
Subject: VB.NET Mock Object Framework
Has anyone found a good mock object library for VB.NET?  I've tried
Rhino Mocks, NMock2 and Nunit.Mocks.  I love Rhino Mocks, but can't
use it effectively because of the compiler issue trying to mock Sub
Methods (as opposed to Functions):

http://ayende.com/Blog/archive/2007/10/26/Rhino-Mocks-killed-Visual-B...

I also used NMock2 for a time, but ran into an issue where the
assembly wasn't strong-named; therefore, I couldn't use it to test my
strong-named production assembly.  I also didn't like having to define
the method name as a string -- because I lost compile-time support if
I needed to refactor (rename the method).

So, today I use NUnit.Mock.  It works for basic scenarios, but I also
have the issue of using strings to specify my mocked methods.  I
haven't tried Moq, but heard that it has the same compiler issue as
Rhino Mocks.

http://groups.google.com/group/moqdisc/browse_thread/thread/db59f0961...

So, for those of you that are VB.NET TDD folks, what do you recommend
as a good Mock Object framework?

Thanks,
Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.