Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 586819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:08:47+00:00 2026-05-13T15:08:47+00:00

It appears to be extremely difficult to design a generic test harness for Pro

  • 0

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.

  1. Are there any FoxPro programmers out there that have done unit tests on class libraries?
  2. Same question as in (1), but this time, class libraries that happen to be MDI forms?
  3. 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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:08:48+00:00Added an answer on May 13, 2026 at 3:08 pm

    Unit testing of business logic and business objects in class libraries can be done with FoxUnit (from Visionpace). It is free too. The download is available from http://www.foxunit.org/Default.aspx?tabid=24

    As for testing the user interface, this has always been a challenge for FoxPro developers and the apps they generate. Microsoft created a test harness that is available with the product, but it was extremely buggy and unreliable. One of the OS updates also broke it if I am recalling my history correctly.

    There is a third-party product called FoxRunner. I personally have not used it, but it might be something for you to look into. Maybe one of their sales or support people know developers with experience testing out SBT/Accpac. It is a commercial product that runs 449 (not sure if US Dollars or Euros). http://www.cal.de/e/prod_foxrunner1.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It appears that using perldoc perl gives the list of, e.g. perlre, perlvar, etc.
It appears the Python signal module doesn't have anything similar to the sighold and
It appears that in PHP objects are passed by reference. Even assignment operators do
It appears that Directory.GetFiles() in C# modifies the Last access date of a file.
it appears if you have something like var my_var = {foo : bar}; in
There appears to be some debate about the divide is between wanting an SDK
It appears that each app has access to its own config settings, which could
It appears as though NSNumberFormatter's method for setting custom formatters . setFormat: isn't available
Microsoft appears to be moving a lot of configuration and query capabilities to PowerShell
It appears that I can escape command line arguments using single or double quotes:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.