Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unit Test: Loading a record w/o input screen?
Message
From
24/01/2005 14:18:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Unit Test: Loading a record w/o input screen?
Miscellaneous
Thread ID:
00980137
Message ID:
00980137
Views:
49
I'm trying to retrofit unit tests onto my codebase, and I've stumbled across something I'm not sure how to resolve. Within the program, a business object adds a new record, and later saves it when done, and I can test that easily. I can't easily test what's in between - the user entering data and textboxes updating their controlsources.

What's the best/easiest way to get test data into a record? Given that the number of fields adds up quickly, rather than using a function with umpteen parameters, I started looking at a parameter object. That only seems to move the problem down one level of abstraction - how do I fill in the parameter object values?
Next
Reply
Map
View

Click here to load this message in the networking platform