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

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

问题描述

是的,我知道我已经落后于时代了,但我在这里得到的是一个古老的 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 应用程序?[最好以后升级到 .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.

推荐答案

VBUnitVB6 项目的前客户.

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

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

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