diff options
author | Denis Laxalde <denis.laxalde@logilab.fr> | 2014-06-05 10:06:59 +0200 |
---|---|---|
committer | Denis Laxalde <denis.laxalde@logilab.fr> | 2014-06-05 10:06:59 +0200 |
commit | b0f384ef4bb2d7e5ac419320c73199b0aed65ee7 (patch) | |
tree | 7cee5f5ca7f8d7947a93ed6764ecab14bedd7591 /ChangeLog | |
parent | 86dc908ee0df6f8bf9a0bd11d9952dcaba0689e4 (diff) | |
download | logilab-common-b0f384ef4bb2d7e5ac419320c73199b0aed65ee7.tar.gz |
[testlib] Handle skip methods as in unittest
Just copied this piece of code from unittest.TestCase.run which:
* makes it possible to skip whole TestCase (using class decorator),
* handle conditional skip (skipIf).
As an aside, with this, setUp() is not executed anymore when a test is
skipped.
Closes #252838.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,8 @@ ChangeLog for logilab.common -- * shellutils: restore py 2.5 compat by removing usage of class decorator * pytest: drop broken --coverage option + * testlib: support for skipping whole test class and conditional skip, don't + run setUp for skipped tests * configuration: load options in config file order (#185648) 2014-03-07 -- 0.62.0 |