<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/testtools.git/testtools/testcase.py, branch interfaces</title>
<subtitle>github.com: testing-cabal/testtools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/'/>
<entry>
<title>More RunTest related interfaces</title>
<updated>2015-12-10T18:29:25+00:00</updated>
<author>
<name>Jonathan Lange</name>
<email>jml@mumak.net</email>
</author>
<published>2015-12-10T18:29:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=b5e02333c8d4afa6d517de32d3e92bf7016a3a61'/>
<id>b5e02333c8d4afa6d517de32d3e92bf7016a3a61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sketch of interfaces</title>
<updated>2015-12-10T17:52:25+00:00</updated>
<author>
<name>Jonathan Lange</name>
<email>jml@mumak.net</email>
</author>
<published>2015-12-10T17:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=6b1765c4d6cb0352662de37a97ae767e8fdf49bc'/>
<id>6b1765c4d6cb0352662de37a97ae767e8fdf49bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Overhaul exception reporting.</title>
<updated>2015-03-09T19:36:16+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2015-03-09T09:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=55278e0e4a935f1d8c468a4d29a8133088806790'/>
<id>55278e0e4a935f1d8c468a4d29a8133088806790</id>
<content type='text'>
unittest2 recently added the ability to show local variables in
tracebacks as https://github.com/testing-cabal/testtools/issues/111
requested for us. Reusing that requires some refactoring of our code,
in particular where we were reimplementing bits of the traceback
module. Now we can just hard-depend on traceback2 and linecache2 which
are brought in by unittest2 1.0.0.

Change-Id: Ieb3268029d26b48ed4fcd25ed644bd339f6aa3fb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unittest2 recently added the ability to show local variables in
tracebacks as https://github.com/testing-cabal/testtools/issues/111
requested for us. Reusing that requires some refactoring of our code,
in particular where we were reimplementing bits of the traceback
module. Now we can just hard-depend on traceback2 and linecache2 which
are brought in by unittest2 1.0.0.

Change-Id: Ieb3268029d26b48ed4fcd25ed644bd339f6aa3fb
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix setUpClass upcalls on Python 2.6.</title>
<updated>2014-11-17T02:42:11+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-11-17T02:42:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=d30ee53f2eeb9ce4c4a04b7f6e94063edab72611'/>
<id>d30ee53f2eeb9ce4c4a04b7f6e94063edab72611</id>
<content type='text'>
``testtools.TestCase`` now inherits from unittest2.TestCase, which
provides a ``setUpClass`` for upcalls on Python 2.6.
(Robert Collins, #1393283)

Change-Id: Id56212e3d7d519c7b73d2e19d3e34013fac34544
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
``testtools.TestCase`` now inherits from unittest2.TestCase, which
provides a ``setUpClass`` for upcalls on Python 2.6.
(Robert Collins, #1393283)

Change-Id: Id56212e3d7d519c7b73d2e19d3e34013fac34544
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix skipping setUpClass with self.skipException</title>
<updated>2014-11-15T20:57:58+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-11-15T20:57:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=1a713d118a244ba4b66db8835ff8b9d3a093bf1b'/>
<id>1a713d118a244ba4b66db8835ff8b9d3a093bf1b</id>
<content type='text'>
Change-Id: I1f314c91c4e852edafabc7cf3d2b01abe8a62fa3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I1f314c91c4e852edafabc7cf3d2b01abe8a62fa3
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix masking of fixture.setUp errors.</title>
<updated>2014-09-11T22:45:31+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-09-11T22:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=4b6d19adcbed329ef3e5600d030248d58d5a8000'/>
<id>4b6d19adcbed329ef3e5600d030248d58d5a8000</id>
<content type='text'>
Exceptions in a ``fixture.getDetails`` method will no longer mask
errors raised from the same fixture's ``setUp`` method.
(Robert Collins, #1368440)

Change-Id: I39da334ba57683fd71a5d7af16c32d9170f6e626
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exceptions in a ``fixture.getDetails`` method will no longer mask
errors raised from the same fixture's ``setUp`` method.
(Robert Collins, #1368440)

Change-Id: I39da334ba57683fd71a5d7af16c32d9170f6e626
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handling of uncatchable exceptions.</title>
<updated>2014-09-02T02:57:07+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-09-02T02:16:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=18bc5741cf277f7a0d601568be6dccacc7b0783c'/>
<id>18bc5741cf277f7a0d601568be6dccacc7b0783c</id>
<content type='text'>
Fix a long-standing bug where tearDown and cleanUps would not be
called if the test run was interrupted. This should fix leaking
external resources from interrupted tests.
(Robert Collins, #1364188)

Fix a long-standing bug where calling sys.exit(0) from within a test
would cause the test suite to exit with 0, without reporting a failure
of that test. We still allow the test suite to be exited (since
catching higher order exceptions requires exceptional circumstances)
but we now call a last-resort handler on the TestCase, resulting in an
error being reported for the test.
(Robert Collins, #1364188)

Change-Id: I0700f33fe7ed01416b37c21eb3f3fd0a7ea917eb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a long-standing bug where tearDown and cleanUps would not be
called if the test run was interrupted. This should fix leaking
external resources from interrupted tests.
(Robert Collins, #1364188)

Fix a long-standing bug where calling sys.exit(0) from within a test
would cause the test suite to exit with 0, without reporting a failure
of that test. We still allow the test suite to be exited (since
catching higher order exceptions requires exceptional circumstances)
but we now call a last-resort handler on the TestCase, resulting in an
error being reported for the test.
(Robert Collins, #1364188)

Change-Id: I0700f33fe7ed01416b37c21eb3f3fd0a7ea917eb
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix issue where using the skip* family of decorators still ran the setUp and tearDown test methods.</title>
<updated>2014-09-01T04:47:04+00:00</updated>
<author>
<name>Thomi Richards</name>
<email>thomi.richards@canonical.com</email>
</author>
<published>2014-09-01T00:06:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=9953dbd6d9f0de0d51b6354e33091689063b177c'/>
<id>9953dbd6d9f0de0d51b6354e33091689063b177c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Error if setUp or tearDown are called twice.</title>
<updated>2014-08-21T17:23:25+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-08-21T03:06:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=5c3b92d90a64efaecdc4010a98002bfe8b888517'/>
<id>5c3b92d90a64efaecdc4010a98002bfe8b888517</id>
<content type='text'>
TestCase.setUp and TestCase.tearDown are only meant to be called once.

Change-Id: If39046eed35257938062b07655b50d9bef0ea5ee
Closes-Bug: #882884
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TestCase.setUp and TestCase.tearDown are only meant to be called once.

Change-Id: If39046eed35257938062b07655b50d9bef0ea5ee
Closes-Bug: #882884
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #82 from thomir/fix-expectedFailure</title>
<updated>2014-05-26T08:58:31+00:00</updated>
<author>
<name>Jonathan Lange</name>
<email>jml@mumak.net</email>
</author>
<published>2014-05-26T08:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=be8760fc1fb9e4544787a9acc60b66cc03be0e93'/>
<id>be8760fc1fb9e4544787a9acc60b66cc03be0e93</id>
<content type='text'>
Fix expected failure</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix expected failure</pre>
</div>
</content>
</entry>
</feed>
