Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing VFP Application
Message
 
 
À
24/08/2017 11:52:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Refactorisation et unité d'essai
Divers
Thread ID:
01653671
Message ID:
01653681
Vues:
45
>>Hi,
>>I have been in business long time and I used to do 0 (zero) testing before releasing new updates. And invariably, as soon as the app would get in the hands of a customer, it would crash. I even remember the times - before internet - when I had to ship a diskette overnight or send it with a taxi.
>>
>>Now I am doing much more testing, even though updating is much simpler.
>>
>>Which brings me to a question. I don't have a QA, so I am it :)
>>
>>Currently I am doing a refactoring where 3 SQL Select statements are replaced with 1. The SQL Select is very important because it is part of the important Business unit of the application. The way I am testing it as follows:
>>1. I created a list of test cases (various possibilities of data)
>>2. Run this new SQL Select and BROWS the resulting cursor
>>3. Run the old 3 SQL Selects against the same data and BROWSE resulting cursor.
>>4. Compare - row-by-row the two cursors.
>
>
>let the old statements in the code to compare old and new results via some basic tests on line & column count of returned cursor during dev.
>then bracket old statements in compiler directives so you can deiver new versions FAST, but during the next month let your code always compare results during dev action. When you fel safe, remove old code

Good suggestion. Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform