Title says it all. It appears to be extremely difficult to design a generic test harness for Pro Series because of the way forms are invoked, etc.
The problem I face is that while I can invoke each form, and the logic for the form is (generally speaking) logically separated in a different class, there is to my knowledge no way at this time to simulate input into the fields of the form. In other words, you can invoke the various methods that make up the business logic in the "cmpmyformnamefs" object, but you can't open up the form, feed it input events, and trace the outcome.
- Are there any FoxPro programmers out there that have done unit tests on class libraries?
- Same question as in (1), but this time, class libraries that happen to be MDI forms?
- Is there a generic test harness you can recommend that allows me to load classes and start calling them?
Just how do you do it?