Unit Testing in VB 6 with SimplyVBUnit

2019-03-27 10:20发布

I've recently decided to start using some light unit testing to see if it adds any value to our project, but I'm having trouble finding documentation for SimplyVBUnit. Any suggestions?

3条回答
Ridiculous、
2楼-- · 2019-03-27 11:04

There's some discussion of VB6 unit testing in this question, with Gutzofter's mini tutorial on SimplyVBUnit.

查看更多
放荡不羁爱自由
3楼-- · 2019-03-27 11:13

If you downloaded the binary installer for SimplyVBUnit it comes with a couple of example projects in the installation folder. Both the source code zip file and binary installer include a Help.chm showing many of the classes and how to apply them in your tests.

查看更多
Fickle 薄情
4楼-- · 2019-03-27 11:22

Have you considered collecting test coverage? This determines what part of your code has run, often as exercised by your unit tests. To do this, you need a test coverage data collection tool, as well as your tests.

EDIT: The only VB6 test coverage tool I know is http://www.aivosto.com/vbwatch.html Aivisto seems to have a generally good reputation for thier VB tools.

查看更多
登录 后发表回答