The member of the xUnit family written to support Visual Basic 6.0. As far as I know, it was the first member of the xUnit family to support SuiteFixture Setup and also the one that introduced the concept of calling a Testcase Class a test fixture.
One of the main quirks of VbUnit is that when an Assertion Method fails the test, it writes the messages into the failure log immediately rather than just raising an error that is then caught by the Test Runner. The practical implication of this is that it is difficult to test Custom Assertions because the messages in the logs are not prevented by the normal Expected Exception Test construct. The workaround is to run the Custom Assertion Tests inside an "Encapsulated Test Runner".
Another quirk is that VbUnit is one of the few members of the xUnit family that is not free (as in beer). It is available from http://www.vbunit.org. There used to be a free version available and who knows, it may reappear some day. Another option for VB and VBA programmers is VB Lite Unit or for .Net programmers, NUnit, CsUnit and MbUnit.
Copyright © 2003-2008 Gerard Meszaros all rights reserved