Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I was wondering whether I could integrate Nunit with Visual basic 6.0 since I am in need of a unit testing tool for my VB6.0 project.

I heard Nunit was great for .NET , can some one help me out here?

PS: I googled , couldn't find any relevant answers.

Thank you!
Posted
Comments
[no name] 25-Sep-14 6:15am    
I doubt you will find anything. VB6 is dead and it's not a .NET language so a .NET unit testing framework would not do anything for you.

1 solution

If the VB6 to be tested is a DLL then you can build a .NET wrapper to each DLL function by adding a COM reference in a .NET project to the DLL and run the tests against the wrapper layer. The wrapper layer should do no more than pass arguments/results in and out.

If the VB6 code is not a DLL, can you call/invoke the units to be tested in a test DLL?

Ultimately it might be more work than writing a test harness yourself and automating result reports if you need documentation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900