Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mock or actual
Message
From
09/08/2006 08:00:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Refactoring and unit testing
Title:
Mock or actual
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01144054
Message ID:
01144054
Views:
48
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...
Next
Reply
Map
View

Click here to load this message in the networking platform