Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Handle Multiple Test Data Locations
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How To Handle Multiple Test Data Locations
Divers
Thread ID:
01314375
Message ID:
01314375
Vues:
53
I have data located in different places.

There is a production database at the client site, a test database at the client site, a copy of the client's production data on our office network, and another copy local on my PC. In addition, the QA department has their own copy.

There is an entry in the INI file for the data path, but it's a PITA to change the INI file to point to the data I want to test against.

I considered creating a data location picker which would be displayed on startup only in development. I could create entries in the INI such as DataPath1, DataPath2 and so on. DataPath1 would always be the location of the production data.

Then, when the data location picker comes up, I could select the DB I want to run against.

Anyone have any better ideas?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform