Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

Ben on MbUnit's Row Test

Ben Hall has a short and sweet post on MbUnit's row test, it includes some sample code for you to try out. 

The RowTest fixture in MbUnit is by far one of the most popular features and its likely to find its way into other test frameworks over time. Its one of the most simple ways of getting a range of data between x and y into your asserts. RowTest lets you test possible ranges of data (including fringe ranges that you might not consider valid) across your tests and in manner that won't have you writing 100 asserts to do so (which may very well folks off this kind of testing). The other feature in MbUnits toolbox that is related to RowTest is the Combintional (or pair wise) Fixture, you can find an example of this (and RowTest) in James Averys talk code. I'll have more to say about it at a later date. 

Comments

Julián said:

Hi

Unfortunately MbUnit's Row Test doesn't work in VB 2003. I blogged about a way to achieve something similar with MbUnit's combinatorial tets. You can check it here:

http://www.hpoffice.cl/julian/archive/2007/04/17/mbunit-rowtest-in-vb-2003.aspx

Best regards

# April 18, 2007 3:29 AM