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

Ask A Question

Stats

  • Questions 376k
  • Answers 376k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer What you have done is indeed an improvement. You have… May 14, 2026 at 8:42 pm
  • Editorial Team
    Editorial Team added an answer The <asp:PlaceHolder /> does not generate a div tag. The… May 14, 2026 at 8:42 pm
  • Editorial Team
    Editorial Team added an answer $(".hidee2").click(function() { var type = $(this).closest("form").find(".st").val(); }); i.e., get the… May 14, 2026 at 8:42 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.