Fog Creek Software
Discussion Board

VB6 unit testing framework

Can anyone recommend a good (preferably free) one?

Sam Livingston-Gray
Thursday, August 7, 2003


I believe it is shareware.

One Programmer's Opinion
Thursday, August 7, 2003

Just me (Sir to you)
Thursday, August 7, 2003

NUnit supports VB 6? Are you sure? NUnit makes use of reflection, something VB 6.0 doesn't support.

Mark Hoffman
Thursday, August 7, 2003

Oops. I guess I am so far into managed code today that whenever I see VB my brain maps to VB.NET. Sorry.

Just me (Sir to you)
Thursday, August 7, 2003

Hm.  Also found this after a few minutes of Googling:

Anybody used this?

Sam Livingston-Gray
Thursday, August 7, 2003

I'll answer my own question:  COMUnit is not bad.  Of course, this is the first time I've tried using unit tests (I probably shouldn't admit that, should I?), so it could be missing some splendiferous feature and I just don't know any better... but so far, so good.

Sam Livingston-Gray
Friday, August 8, 2003

Is ComUnit only for testing the COM interface to a VB 6 program?

While we're admitting things we probably oughtn't...

My very meager understanding of COM is that it's a way to expose a public interface to other programs so that they can interact with YOUR program.  Is that correct?

So, if I'm writing a program that does NOT have a COM interface (because nothing else is talking to it), will ComUnit be of use?

Tuesday, August 12, 2003

Classic VB classes are all COM. Does that answer it?

Thomas Eyde
Wednesday, August 13, 2003

There is a new light-weight, open source unit testing framework for VB/VBA worth checking out called VB Lite Unit.  You can find VB Lite Unit at .

Steve Jorgensen
Sunday, August 15, 2004

*  Recent Topics

*  Fog Creek Home