Hi!
Just posted a comment to
http://blog.bits-in-motion.com/2008/03/announcing-gallio-v30-alpha-2.html
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.GetTitleForFirstAnnouncementsItem
() 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....@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