Are there any good TDD tools or resources for VB6?

后端 未结 3 1393
忘了有多久
忘了有多久 2020-12-01 08:23

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 pa

3条回答
  •  无人及你
    2020-12-01 09:02

    I'm in the situation were we have a huge VB6 application which is on the way to be migrated to .NET. The migrated version is fully unit tested.

    The approach we've taken is to unit test the VB6 application from .NET via COM interop. The main advantage we found so far is that VB6 developers end up learning TDD (and all what it implies):

    • Methodology: test first, code afterwards..
    • Architecture: SoC, cohesion, DRY, ...
    • Technology: testing and mocking frameworks, IoC containers...

    This solution is improving hugely the code quality of the migrated version as they understand how to architecture things in a way that makes testing easier. Also, there's a potential opportunity to use the same tests on the VB6 and the .NET version.

    Not sure if this solution is over-architectured for your problem. You should assess whether or not is applicable or suitable in your situation.

    Regards.

提交回复
热议问题