Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to conditionally exclude a test?
Message
De
07/03/2013 16:22:52
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Test et débogage
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01567786
Message ID:
01567808
Vues:
45
I can tell because it violates the rules of good unit and integration tests.

Naomi, you always come up here asking how to do something and frequently try to justify your poor software engineering practices when you're told why you're doing things wrong. Then you usually end up saying something just you said here. Just get the result to look right when there really is no way to tell if it's correct or not. You're doing your employer a disservice, your career a disservice, what you're doing is costing your employer money, and borders on ineptitude. I can almost guarantee at some point, a value will either be incorrectly written or read to the database because your tests are in fact invalid. Then you'll scratch your head for days trying to figure out what's wrong, you'll ask here for help, you'll scratch your head some more. All because it appears the tests are passing but may not acutally be failing.

>I disagree, but you can not tell because you don't know what exactly I am doing.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform