On 03:34 pm, firstname.lastname@example.org wrote:Chris and I wrote all the AMP-using code for game TDD. See
>I have no issue writing AMP responders TTD-edly, they work pretty much
>way any other code would. However, I did notice that the only way I'd
>notice if my Command definitions themselves were broken were if my
>functional tests start failing.
game/test/test_network.py in lp:game.
>It would be nice if I could write unit test driven Command_______________________________________________
>The quickest I could come up with was to call
>with a few known-good/known-bad dictionaries, and see if it blows up.
>there a smarter way to do it?
Twisted-Python mailing list