[Q] TDD example for client/server development?
Sungjin Chun
chunsj at embian.com
Sun Dec 3 04:20:36 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks for your help, and...
Diego Fernandez wrote:
> I have done a lot of TDD for client/server (web services, http,
> GemStone, LDAP) and my experience is this:
>
> - First of all focus in what behavior you are testing: are you testing
> all the communication framework or are you testing the client (or
> server) behavior? This is important because in most cases the
> communication framework is already done, so you don't need to test it
> again, ie testing (directly or indirectly) that the Socket object
> works is non sense, unless you are writing the behavior for the Socket
> object.
>
I want to create/test communication framework - actually I use this
example for educating TDD for client/server development. Most guys in
our class do think TDD is inappropriate for client/server development,
even for simple echo server/client case. They say how can you make your
step small enough to TDD when you cannot test communication.
So I have to write the behavior of the Socket object.
Thanks again.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFclCUQqspS1+XJHgRAoOzAJ4zdw9I5hZqpijUe86Z9c+5j1WwWwCeL0CX
NdzByoMuUo8sJwJE6/qxSVg=
=wGyE
-----END PGP SIGNATURE-----
More information about the Squeak-dev
mailing list
|