Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Using different versions of testing framework

14 views
Skip to first unread message

SimoneB

unread,
Sep 28, 2009, 9:01:05 AM9/28/09
to TestDriven.NET Users
Hi,

we are experiencing some issues when trying to upgrade from a version
of MbUnit to a more up to date version.

All of our developer's machines have MbUnit 2.3 installed, and
everything runs fine with any of the recent versions of
TestDriven.Net.

Now we are trying to port some projects from version 2.3 to 2.4 of
MbUnit, and we would like to be able to keep running tests under both
versions.

If we install MbUnit 2.4 on the developer's machines we are unable to
run tests under MbUnit 2.3, I guess probably because MbUnit is somehow
not backwards compatible.

Is there a way to solve our issue, maybe instructing TestDriven.Net to
use a specific executable instead of the installed version?

Jamie Cansdale

unread,
Sep 30, 2009, 10:23:55 AM9/30/09
to testdri...@googlegroups.com
Hi Simone,

> Is there a way to solve our issue, maybe instructing TestDriven.Net to
> use a specific executable instead of the installed version?
>
In the next release of TestDriven.Net there will be support for zero
install test runners and side by side versions. The way this works is
a special file is places next to the framework assembly
('MbUnit.Framework.dll') that lets TestDriven.Net know where to find
an appropriate test runner.

The latest versions of MbUnit and xUnit will support this out of the
box. It is very easy to add support for this to MbUnit 2.x. Simply add
a file called 'nunit.framework.dll.tdnet' next to
'MbUnit.Framework.dll' with the following contents:

<TestRunner>
<FriendlyName>MbUnit {0}.{1}.{2}</FriendlyName>
<AssemblyPath>MbUnit.AddIn.dll</AssemblyPath>
<TypeName>MbUnit.AddIn.MbUnitTestRunner</TypeName>
</TestRunner>

You can add this to the MbUnit 2.3 and 2.4 'bin' directories. Once
you've done this you have a 'zero install' version of MbUnit that you
can optionally check into version control. After that you won't need
to install MbUnit using the MSI installer for TestDriven.Net
integration to work!

I'll email you a link to a preview version of TestDriven.Net 2.24 with
this feature. If anyone else would like to try a pre-release version -
let me know. Otherwise it should be live in a week or so.

Regards,
Jamie.

--
http://www.testdriven.net
http://twitter.com/jcansdale
http://weblogs.asp.net/nunitaddin
Message has been deleted

SimoneB

unread,
Sep 30, 2009, 11:41:54 AM9/30/09
to TestDriven.NET Users
Thanks a lot Jamie, I will try it out.
> --http://www.testdriven.nethttp://twitter.com/jcansdalehttp://weblogs.asp.net/nunitaddin

SimoneB

unread,
Oct 1, 2009, 4:51:11 AM10/1/09
to TestDriven.NET Users
Hi Jamie,

it works great. I was able to uninstall MbUnit from my machine and yet
run the tests with MbUnit by using the MbUnit binaries I put under
source control.

At this point I would like to know when you think a release for the
Enterprise version will be available so that we can redistribute it
among the team.

Regards,

Simone

On Sep 30, 4:23 pm, Jamie Cansdale <jcansd...@gmail.com> wrote:
> --http://www.testdriven.nethttp://twitter.com/jcansdalehttp://weblogs.asp.net/nunitaddin
Reply all
Reply to author
Forward
0 new messages