|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Oct 2002
Città: San Jose, California
Messaggi: 11794
|
Articolo su Unit Testing su MSDN Magazine
http://msdn.microsoft.com/msdnmag/is...g/default.aspx
"How do you know if you have good coverage for your new code? Try removing a line or a constraint check. If all tests still pass, you don't have enough code coverage and you probably need to add another unit test. The best way to make sure you are adding the correct test is to not uncomment that line or check until you produce a test that fails until you do uncomment it. This may be hard, but if you can't think of a way to make this code fail, you probably don't have a good reason for writing that line of code in the first place." Al di la' del linguaggio e del testing framework usati, i principi sono validissimi e generali.
__________________
"We in the game industry are lucky enough to be able to create our visions" @ NVIDIA |
|
|
|
|
|
#2 |
|
Bannato
Iscritto dal: Feb 2005
Città: Roma
Messaggi: 7029
|
interessantissimo! io ogni tanto mi riprometto di iniziare a leggermi tutti i numeri più interessanti di MSDN Magazine, però non lo faccio mai...
un giorno lo devo fare assolutamente! *e continua a ripromettersi* ^^ |
|
|
|
|
|
#3 | |
|
Senior Member
Iscritto dal: Oct 2002
Città: San Jose, California
Messaggi: 11794
|
Quote:
__________________
"We in the game industry are lucky enough to be able to create our visions" @ NVIDIA |
|
|
|
|
|
|
#4 | |
|
Senior Member
Iscritto dal: Jun 2002
Città: Dublin
Messaggi: 5989
|
Quote:
__________________
C'ho certi cazzi Mafa' che manco tu che sei pratica li hai visti mai! |
|
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: May 2002
Città: Milan
Messaggi: 572
|
Segnato da leggere anche questo...come altri 24 libri, sempre in continuo aumento...inoltre è tutto in inglese (ma alla fine, fa solo bene...^^), non mi passa più
__________________
.:. NEONISI .:. a new island for online auctions. It's worldwide, safe, simple and free. Join Us! |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 05:53.



















