[TIP] forced test timeouts?

loigu loigu at volny.cz
Wed Feb 20 08:52:36 PST 2008


Hi,

I just ran into problem with testing code with potential infinite loops,
deadlocks, etc. in nose. As expected it had stopped in one test and
refused to continue.

After some time spend searching around for nose option or plugin I found
just tools.timed. Does anybody know something that doesn't wait for test
to finish and shut it down  directly after timeout? I think
nose.tools.timed should be written in this manner too...

Regards

Jiri Zouhar




More information about the testing-in-python mailing list