I am using Delphi 7.
I am new to DUnit, my doubt is which test cases I can write using DUnit and how (which is very important for me).
Can I write test cases for a specific button click event? Because in this case, there may be a large set of code in which more units are called with the corresponding procedures or functions associated with the database. Then what is the best approach for writing test cases and how? (If possible, an example or referral would be a big help for me).
Since in the DUnit project example we cannot write entire sets of application code, because in some cases some other form may be created.
So, I doubt situations like writing test cases, and generally also what types of test cases we can write using DUnit and, what is important, how?
source share