Unit Testing in VB 6 with SimplyVBUnit

家住魔仙堡 提交于 2020-01-01 04:57:07

问题


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?


回答1:


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.




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/1556025/unit-testing-in-vb-6-with-simplyvbunit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!