Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TDD - Test for failed case only?
Message
De
24/05/2007 02:55:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
TDD - Test for failed case only?
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01228156
Message ID:
01228156
Vues:
68
Hi,
WHile creating test, should we write test code for pass and also fail scenario?

For example, If my class must not accept ZERO value for fieldA. I write test to check is the rule passed. Should I write test for scenario the test should fail?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform