[LRUG] A question on DRYness on testing methods that get / set state

Matthew Rudy Jacobs matthewrudyjacobs at gmail.com
Wed Nov 23 00:10:52 PST 2011


You can structure the naming of your tests in an infinite number of ways
but these are the behaviours I'd care about.

   1. If I don't PUT anything into the box, I GET nothing out.
   2. If I PUT something in the box I GET out the same thing
   3. If I PUT something in the box and try to GET it multiple times, I
   always GET the same thing
   4. If I PUT multiple things into the box, I only ever GET the most
   recent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20111123/a8d6e453/attachment.html>


More information about the Chat mailing list