Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mock or actual
Message
De
09/08/2006 08:00:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Refactorisation et unité d'essai
Titre:
Mock or actual
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01144054
Message ID:
01144054
Vues:
53
Hi,
I am new to TDD.
I am writing test for my licenseManager. It required some other class (LicenseController) that I had not develop. Therefore, I created a mock class just for this testing.

OK, now I have finished my LicenseController. Should I replace mock class code by my actual class or just remain it?

Pls advice.

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