Unit test e DeveloperTests

2 views
Skip to first unread message

giuseppe

unread,
Oct 7, 2013, 8:41:55 AM10/7/13
to novara-xpug
Cosa ne dite di questo?

"Under the strict definition, for QA purposes, the failure of a UnitTest
implicates only one unit. You know exactly where to search to find the
bug.

TestDrivenDevelopment produces DeveloperTests. The failure of a test
case implicates only the developer's most recent edit. This implies that
developers don't need to use MockObjects to split all their code up into
testable units. And it implies a developer may always avoid debugging by
reverting that last edit. "

fonte: http://c2.com/cgi/wiki?UnitTest


ciao

g.

Matteo Vaccari

unread,
Oct 7, 2013, 8:48:11 AM10/7/13
to novar...@googlegroups.com
On Mon, Oct 7, 2013 at 2:41 PM, giuseppe <new...@libero.it> wrote:
Cosa ne dite di questo?

...

TestDrivenDevelopment produces DeveloperTests. The failure of a test
case implicates only the developer's most recent edit. This implies that
developers don't need to use MockObjects to split all their code up into
testable units.

Questa implicazione è funambolica.  Tu che ne pensi?
 
And it implies a developer may always avoid debugging by
reverting that last edit. "

Sì, assumendo che il sistema non esibisca mai un difetto in produzione :-)
 
M

giuseppe

unread,
Oct 7, 2013, 11:15:29 AM10/7/13
to novar...@googlegroups.com
Il giorno lun, 07/10/2013 alle 14.48 +0200, Matteo Vaccari ha scritto:


> On Mon, Oct 7, 2013 at 2:41 PM, giuseppe <new...@libero.it> wrote:
> Cosa ne dite di questo?
>
> ...
> TestDrivenDevelopment produces DeveloperTests. The failure of
> a test
> case implicates only the developer's most recent edit. This
> implies that
> developers don't need to use MockObjects to split all their
> code up into
> testable units.
>
>
> Questa implicazione è funambolica. Tu che ne pensi?

Non, so, infondo sono io che ho fatto la domando :) mi sembrava
un'affermazione un po' provocatoria ma mi domando se ha un fondo di
verità (nel wiki, perquanto l'implicazione sia funambolica, nessuno ha
ribattuto...). Voi cosa ne pensate ?

La riga successiva è scritta da RonJeffries e dice:
"Note that although most of the text on this Wiki uses the term
UnitTest, the canonical ExtremeProgramming name has been changed to
ProgrammerTest."
fonte sempre: http://c2.com/cgi/wiki?UnitTest

voi quando parlate di unit test cosa intendete ?!

ciao

g.


Reply all
Reply to author
Forward
0 new messages