Alexandre,

Once upon a time I thought like you, but I changed my mind when I realized that 
more and more the tests are being engineered in such a fashion that using them 
for the sake of an example is becoming convoluted.

As we create all the machinery (setup and tear down) to do Unit Tests the test 
itself conveys less information unless you start to navigate the SUnit land, 
and I feel it will become even more inexpugnable for newcomers as soon 
PhExample enters the scene (you might have chained tests).

Notwithstanding the accepted notion that tests are a form of documentation, I 
would say more and more they're falling into the same slot of the argument "you 
have access to the code": true but not practical for the day to day chores.

--
Cesar Rabak
  

Em 06/01/2010 14:58, Alexandre Bergel < alexan...@bergel.eu > escreveu:


It is more for having examples under hands.

Cheers,
Alexandre


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to