SimplyVBUnit 4.1 is a VB6 unit testing framework written in Visual Basic 6. It closely follows the GUI setup of NUnit. Creating Tests is a snap, as you don't need to implement anything, just add your tests to a new class and GO!
Easily get started with the wiki.
- Automatically discovers test methods within test classes.
- Support categorization of unit-tests and test fixtures.
- Supports parameterized test methods.
- Supports assertions of expected errors to be raised.
Very nice. Congratulations to the developer, with the application you can use TDD in VB.
It doesnt work :( the examples doesnt work
You know you should be unit testing code, and this let's you do it for VB6. This is one of your only options available for VB6 unit testing without having to pay for it. It also doesn't hurt that this is very well written VB6 code. You'll be able to borrow a lot of good ideas from this code, and you can change it to help make it part of an automated process. Basically, the way this works, is that you create some test classes in a VB6 project using SimplyVBUnit, these classes are registered w/ the unit test runtime engine, and when the tests are executed, SimplyVBUnit uses some COM magic to iterate through the functions in the class instances and executes them. The test functions themselves use an Assert style class/syntax which is implemented via magic and good design to report test failure. It's free, and it's well written, and you need to be doing unit tests even if you're on VB6. I say download it asap.