VB6 有什么好的 TDD 工具或资源吗? [英] Are there any good TDD tools or resources for VB6?

查看:21
本文介绍了VB6 有什么好的 TDD 工具或资源吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,我知道我已经落后于时代,但我这里有一个古老的 VB6 编辑器应用程序,我相信没有人会很快升级到 .NET.它使用了几个第三方 DLL 工具,并且由于它仍在使用旧的 RichEdit 控件,因此我基本上可以仅使用这个工具来建立自己的 Bug 农场.

Yea i know i'm way behind times but what i've got here is a antique VB6 editor app which i believe that no one will be upgrading to .NET soon. It uses a couple of third party DLLs tools and as it's still using the good old RichEdit control i basically can raise my own Bug farm with just this tool alone.

足够了,我正在尝试看看我是否可以使用 TDD,这样我就可以开始为我需要修复的每个行为/功能编写单元测试,所以迟早我可以拥有一个完整的回归测试套件这个工具.即使将来我们升级到 .NET,我认为我编写的大多数测试都应该有助于验证正确的行为,并且应该也可以升级到 .NET 版本,我猜.

So enough is enough and i'm trying to see if i can use TDD so i can start writing unit test for each behavior/feature that i need to fix, so sooner or later i can have a complete regression test suite for this tool. And even in the future if we do upgrade to .NET i think most of the tests that i've written should be helpful in validating the correct behavior and should be upgradable to a .NET version too, i guess.

一些基本的谷歌搜索将我发送到此工具调用 simplyVBunit,但我找不到足够的指南等让我开始,是的,我也不是那么精通 VB6 :(

Some basic Googling send me to this tool call simplyVBunit, but i can't find enough guides,etc to get me started and yes i'm not that proficient with VB6 either :(

  1. 那么有人知道有什么好处吗我使用 TDD 的工具/资源对于这个 VB6 应用程序?[最好以后升级到 .NET,以防万一.]
  2. 或者我可以实际使用这些单位.NET 的测试框架,即 NUnit,等通过解决方法?
  3. 还是有更厉害的如何完成这项工作?

谢谢:)

我尝试过使用 vbunit,但我发现没有简单的方法可以将其添加到现有应用程序中,或者至少我不知道如何添加.因此我发现这个也可以玩,vb-lite-unit 还有这个comunit.另外,有人说我们可以使用 NUnit 和 vb6,但更少资源.

I've tried messing with vbunit but i found that there's no easy way to add it to an existing app or at least not to my know how. Thus i've found this to play with too, vb-lite-unit and also this comunit. Plus there's some saying that we can use NUnit with vb6 but there's even less resource on that.

推荐答案

VBUnit 对我来说很好用VB6 项目的前客户.

VBUnit worked well for me at a former client on a VB6 project.

这篇关于VB6 有什么好的 TDD 工具或资源吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆