是否有良好的TDD工具或资源,VB6? [英] Are there any good TDD tools or resources for VB6?

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

问题描述

是啊,我知道我落后时代的方式,但我在这里得到了一个古董VB6的编辑器的应用程序,我相信没有人会很快升级到.NET。它使用了几个第三方的DLL工具,因为它仍然使用旧的好RichEdit控件我基本上可以提高我自己的错误农场只是仅此工具。

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应用程序吗? [preferably升级为以防万一以后.NET。]
  2. 或者我可以实际使用的单元 测试框架.NET,即NUnit的, 等通过一个解决办法?
  3. 或者是有一个更真棒 的方式来完成这件事?
  1. So does anyone know of any good tools/resources for me to use TDD for this VB6 app? [Preferably upgradable to .NET later just in case.]
  2. Or i can actually use those unit test framework for .NET, i.e. NUnit, etc via a workaround?
  3. Or is there's an even more awesome way to get this done?

感谢:)

我试着vbunit搞乱,但我发现,有没有简单的方法将其添加到现有的应用程序,或者至少不是我的诀窍。于是我找到这个有太多的发挥, VB-精简版单元,也是这的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.

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

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