vb6 - How do you Unit Test an .EXE with 3rd party dll? -


I'm still learning TDD's dark arts and lately and I basically use it to limit the list.

MySQL is a rich text editor with third party DLL and how I want to find out how to check the XI file

My question is how do you test a unit exe file? Especially in terms of VB6 and if you have a good example with vbunit3 or simplyvbunit, then you are just a lifesaver because I am still drying up in the material and I still can not write a unit test yet: (

Edit

Actually there are many modes, modules and class modules in the app, and when I compile it, it is definitely packaged systematically .exe file. Make things more complicated Too much

But my main intent is to test for all or most brittle part of the unit. And I want to make sure that I can keep the exam and the code separate. The best way to do it is to test the XE directly through the reference context in any way, etc..

Is there a better way to do this?

There is a difference between unit testing and integration tests. Do not test an executable unit. You are unit units of small, self-contained computations, such as ethod or a process depending on the language you are using. To test large components such as APIs, third-party components, or executables in an integration test, make sure they do the required work for a given set (good or bad). While you can test some integration with the API or plug-in integration testing tool, I do not think you will find many unit testing tools that work to test exexetic. There are other types of testing tools that will work better on this. Simply writing a script that provides different types of input and checking your output can be sufficient for many scenarios.

If you want to know more about TDD and Unit Test, you should apply it to work or procedures in VB6 - - However, I recommend VB.NET (or C #) I want to develop object-oriented. Usually the tools are oriented for o-style programming.


Comments