Re: [python-tulip] Writing unit tests for user code

2014-07-26 Thread Guido van Rossum
There's another thing. If you accidentally put a yield in a test_*() method, and you are using the default test runner, it will silently succeed without doing anything (since calling it just creates the generator object without starting the code). That's annoying. I personally think that this shoul

Re: [python-tulip] Writing unit tests for user code

2014-07-26 Thread Glyph
On Jul 25, 2014, at 7:46 AM, Tobias Oberstein wrote: > E.g., for integration tests, we (Autobahn|Python) have Autobahn|Testsuite, > which actually tests interaction of components over the network. > > For low-level (per function) testing, we have (synchronous) unit tests. > > But there is a