Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a script to run through all the application mod
Message
 
 
À
28/06/2006 08:48:18
Chris Bohling
Myers and Stauffer LC
Shawnee, Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01132096
Message ID:
01132459
Vues:
25
>>Thanks a lot, this is very helpful. I'll try to write some tests tomorrow for our business classes and our forms, which are classes as well.
>
>You're welcome.
>
>Thanks for mentioning Martin's article in UT Magazine (http://www.utmag.com/wconnect/wc.dll?9,7,10,826). It looks really good.
>
>Chris

Hi Chirs,

I've created two test classes for two of my classes from aLetters.vcx When I tried to run tests, I got lots of errors on the first test (perhaps because this class is supposed to be on the form and can not be instantiated on its own).

I also found, that it can not work with relative paths, may be because the current directory is changed somewhere. I have FoxUnit on c drive and my project is also on C with Libs, progs, etc. directories. My path is:

PROGS, FORMS, LIBS, MENUS, DATA, OTHER, REPORTS, INCLUDE, HELP, GRAPHICS, \MMORTALS\COMMON30\UTILS, \MMORTALS\COMMON30\INCLUDE, \MMORTALS\COMMON30\LIBS, \MMORTALS\COMMON30\PROGS, \MMORTALS\COMMON30\GRAPHICS, \MMVISCOLLECT\DEVUTILS;\MMVISCOLLECT\TESTS;D:\STONEFIELD\SDT;D:\STONEFIELD\SDT\SOURCE;C:\FOXUNIT

and newobject('myClass','myLib.vcx') produces an error with file not found...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform