Introducing: XtUnit . An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit easily!

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2004/10/5/introducing-xtunit-an-unofficial-unit-testing-extensibility.html
Published Tuesday, October 5, 2004 7:26 PM by RoyOsherove

Comments

Tuesday, October 5, 2004 11:13 PM by Ido Tandy

# re: Introducing: Unofficial NUnit Extensibility Framework - make your own test attributes easily!

I've just tried it on a REAL project and it works like a charm...
I have Rollback without the need for NunitX...
as always, Roy, you're the king...
right mate ?!
Wednesday, October 6, 2004 12:32 AM by Sean McCormack

# re: Introducing: Unofficial NUnit Extensibility Framework - make your own test attributes easily!

Awesome stuff...Thanks!
Wednesday, October 6, 2004 9:16 AM by Jonathan de Halleux

# re: Introducing: Unofficial NUnit Extensibility Framework - make your own test attributes easily!

Hy Roy,

This looks very nice. I'll try it as soon as I get my box back. Would you be interrested in shipping this framework along with TestDriven.NET ? You framework would definitely have his place there :)
Wednesday, October 6, 2004 11:41 AM by Dave Montgomery

# re: Introducing: Unofficial NUnit Extensibility Framework - make your own test attributes easily!

I echo Jonathan's sentiment. TestDriven.NET all the way.
Wednesday, October 6, 2004 8:04 PM by Mike Gale

# re: Introducing: Unofficial NUnit Extensibility Framework - make your own test attributes easily!

The distance Unit testing has come inside .NET blows my mind. Those first JUnit ports are especially unimpressive when viewed from the vantage point of today.

Great work Roy and Peli.
Wednesday, October 6, 2004 8:21 PM by Trey Hutcheson

# re: Introducing: Unofficial NUnit Extensibility Framework - make your own test attributes easily!

Roy,
Way to go dude. Very exciting stuff. I haven't downloaded it yet, but it's definitely on my to-do list. I started to have similar ideas a few days ago after reading the same article on gotdotnet.

Looking forward to playing with it.
trey
Wednesday, October 6, 2004 9:11 PM by Roy Osherove

# re: Introducing: Unofficial NUnit Extensibility Framework - make your own test attributes easily!

Peli (Jonathan): Great idea! This should be a part of TD.Net.
Monday, October 11, 2004 2:37 AM by Assaf K

# re: Introducing: XtUnit . An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit easily!

Great idea and implementation.
Also I need your opinion: if I want to add utilities classes to the NUnit freamwork
Like you wrote before (DataComparison etc… remember?) Where shell I add this class? I guess I need to add it to the XtUnit.Extensions.XXX project am I right?
Thanks?
Monday, October 11, 2004 10:25 PM by MarkFocas

# re: Introducing: XtUnit . An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit easily!

It appears that this only runs under Win 2003
Monday, November 27, 2006 12:59 PM by Peter Fitzgibbons

# re: Introducing: XtUnit . An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit easily!

HI Roy,

I'm getting this on my testing solution when I try to use the SampleTestFixture.cs copied into my solution.  This is using TestDriven.net 2.0.1948 Personal :

TestCase 'M:dbTesting.SampleTestFixture.MyDataRelatedTest'

failed: Couldn't find declaring type with name 'dbTesting.SampleTestFixture'

Do you have an idea what's causing this ?

Thanks for your help!

Tuesday, December 19, 2006 9:54 AM by Cosimo Carbonelli

# re: Introducing: XtUnit . An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit easily!

Hi, I'm using DataRollBack attribute and it works fine with Sql Server...compliments...but now I want to use it even with an application that uses an Oracle 9i db accessed by ODP.NET . Reading your article, I've thought that it must work anyway, because ODP.NET is based upon ADO.NET . Enterprise Services manages transactions at this level...but it doesn't work, or rather, the transaction doesn't roll back...do you have any idea?

Thursday, December 21, 2006 4:03 AM by Cosimo Carbonelli

# re: Introducing: XtUnit . An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit easily!

Hi, I've forgot to say that the Oracle server is on a remote machine. This is probably the cause of the problem. Of course XtUnit works on the local DTC...it is possible to connect on the ServiceDomain object of a remote machine? And how to do that?

Thanks for your help

Cosimo