Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Using TypeMock 5.1 with Gallio
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Mads Nissen  
View profile  
 More options Dec 15 2008, 9:55 am
From: Mads Nissen <mads.nis...@gmail.com>
Date: Mon, 15 Dec 2008 06:55:49 -0800 (PST)
Local: Mon, Dec 15 2008 9:55 am
Subject: Using TypeMock 5.1 with Gallio
Hi!
Just posted a comment to http://blog.bits-in-motion.com/2008/03/announcing-gallio-v30-alpha-2....
regarding using Gallio with the latest version of TypeMock.

I guess my question is how to upgrade the TypeMock version used with
Gallio. I’ve tried updating the TypeMock.Integration.dll component in
the Gallio TypeMock directory with no luck. My current scenario is
that the TypeMock tests run fine within Visual Studio locally, but
they fail on the commandline with MSBuild running a Gallio task with
RunnerType=”TypeMock”. The failure is a unit test exception where it
seems like TypeMock is not in the right version (not able to
successfully create RecursiveFakes):

at System.Uri..ctor(String uriString)
   at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
   at TypeMock.MockManager.a(Type A_0, Object[] A_1)
   at TypeMock.MockManager.MockObject(Type type, Constructor
mockConstructors, Object[] args)
   at TypeMock.MockManager.a(Type A_0, BindingFlags A_1)
   at TypeMock.MockManager.CreateRecursiveFake[T](BindingFlags flags)
   at cc.Instance[T](Members behavior)
   at
Pzl.Framework.Sharepoint.Test.ListControllerUnitTest.GetTitleForFirstAnnoun cementsItem
() in

Any suggestions on how to make sure Gallio is running the latest
TypeMock 5.1 stuff in the runner?

puzzlepart as

Mads Nissen
Founder

email/im: mads.nis...@puzzlepart.com (windowslive)
smail: p.o. box 157, 0323 Oslo, Norway
web: www.puzzlepart.com
weblog: weblogs.asp.net/mnissen
twitter: www.twitter.com/madsnissen


    Reply to author    Forward  
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.
Mads Nissen  
View profile  
 More options Dec 16 2008, 11:08 am
From: Mads Nissen <mads.nis...@gmail.com>
Date: Tue, 16 Dec 2008 08:08:17 -0800 (PST)
Local: Tues, Dec 16 2008 11:08 am
Subject: Re: Using TypeMock 5.1 with Gallio
I got some help form Ohad from the TypeMock team and we found the
source of the problem. This error is related to Gallio using the 4.0
version of the typemock.integration.dll. This does not support reading
the typemock install dir on x64 installs. Any chance this could be
updated to use the 5.0 version of this dll distributed with the 5.1
version of typemock?

The temporary workaround is to create a registry key "SOFTWARE\TypeMock
\TypeMock.NET\InstallDir" (string) and copy the value from "SOFTWARE
\Wow6432Node\TypeMock\TypeMock.NET\InstallDir" into it.

On Dec 15, 3:55 pm, Mads Nissen <mads.nis...@gmail.com> wrote:


    Reply to author    Forward  
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.
Mads Nissen  
View profile  
 More options Dec 16 2008, 12:04 pm
From: Mads Nissen <mads.nis...@gmail.com>
Date: Tue, 16 Dec 2008 09:04:02 -0800 (PST)
Local: Tues, Dec 16 2008 12:04 pm
Subject: Re: Using TypeMock 5.1 with Gallio
More details here:
http://weblogs.asp.net/mnissen/archive/2008/12/16/running-typemock-wi...

On Dec 16, 5:08 pm, Mads Nissen <mads.nis...@gmail.com> wrote:


    Reply to author    Forward  
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.
Jeff Brown  
View profile  
 More options Dec 16 2008, 2:51 pm
From: "Jeff Brown" <jeff.br...@gmail.com>
Date: Tue, 16 Dec 2008 11:51:59 -0800
Local: Tues, Dec 16 2008 2:51 pm
Subject: Re: Using TypeMock 5.1 with Gallio

Sure, I'll make an item for the v3.0.6 release to update to TypeMock 5.1.
Do you need an updated copy right now?

Jeff.


    Reply to author    Forward  
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.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google