Posts Tagged ‘xUnit’

ILMerge and Rake go xunit.BDDExtensions (2009-1-27)

Today I added this little piece of code to the trunk of xUnit.BDDExtensions. It’s a rake task for merging assemblies via the ILMerge tool.

desc "Merges the assemblies"
task :merge do
mkdir DEPLOY_DIR unless File.exists?(DEPLOY_DIR)
cp "xunit.dll".expand_to(:build_dir), "xunit.dll".expand_to(:deploy_dir)
cp "Rhino.Mocks.dll".expand_to(:build_dir), "Rhino.Mocks.dll".expand_to(:deploy_dir)
assemblies_to_merge = ["xUnit.BDDExtensions.dll", "StructureMap.dll", "StructureMap.AutoMocking.dll"]
ilmerge "xunit.bddextensions.dll", assemblies_to_merge
end

Ruby is a fantastic [...]

Introducing xUnit.BDDExtensions (2008-10-4)

xUnit.BDDExtensions is a little framework build on top of xUnit which enables a BDD style of testing with xUnit.
Besides an emphasis on a “test case class per fixture” organization scheme for tests, AAA (Arrange, Act and Assert) style of writing tests and left to right assertions, this framework also provides Rhino.Mocks integration out of the [...]

BDD and xUnit continued (2008-9-16)

Because of several requests I uploaded the little BDD extension I recently wrote for xunit.  It’s basically a port of the framework JP Boodhoos currently uses in his famous Nothing but .Net bootcamps (he’s using MbUnit).
So here it is. Any feedback is appreciated . . .

BDD, xUnit and Resharper (2008-9-2)

Yesterday was an interesting evening. I tried to pinpoint the problem between the little BDD framework I used and the Resharper addin for xUnit.
A short description of my problem
I’m using a test-case-class-per-fixture organization and the template method pattern for writing tests in the AAA scheme. Besides that I use a specialized FactAttribute in order to [...]

BDD with Xunit (2008-8-28)

My current tool of interest is XUnit. For those of you who haven’t heard of it it’s a relatively new unit testing framework from Brad Wilson and the original author of NUnit 2.0, James Newkirk. You can find it here.
Some of the things I really like about it:

It has a set of .NET 3.0 Extension [...]

Ambient transactions and NHibernate (2008-8-22)

About two weeks ago we had some discussions in the german Alt.NET mailing list whether ambient transactions can be used in combination with NHibernate, especially regarding performance implications of such an approach.
Background of that discussion was that my colleague Sergey and I wanted to implement the repository pattern based on Linq 2 NHibernate in a [...]