<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/testtools.git/testtools/run.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>Bug #1430076 fix installing when extras is not installed.</title>
<updated>2015-03-10T00:20:44+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2015-03-10T00:18:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=a0e61b3a2061038431b2e872390ce1b87b59e6f4'/>
<id>a0e61b3a2061038431b2e872390ce1b87b59e6f4</id>
<content type='text'>
Change-Id: Icc9c40d6ef74e6b12323fdab7ce0581ec68794b7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Icc9c40d6ef74e6b12323fdab7ce0581ec68794b7
</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>Show import error details.</title>
<updated>2014-11-17T18:41:03+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-11-17T00:50:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=fab863a5cc8c4346c315a5f3577657facef4a2ec'/>
<id>fab863a5cc8c4346c315a5f3577657facef4a2ec</id>
<content type='text'>
When an import error happens ``testtools.run`` will now show the full
error rather than just the name of the module that failed to import.
(Robert Collins)

Change-Id: I2d9d7a4659b51a5e3ea8000301ecb799ed30f463
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an import error happens ``testtools.run`` will now show the full
error rather than just the name of the module that failed to import.
(Robert Collins)

Change-Id: I2d9d7a4659b51a5e3ea8000301ecb799ed30f463
</pre>
</div>
</content>
</entry>
<entry>
<title>Use unittest2 TestProgram implementation.</title>
<updated>2014-11-13T19:40:39+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-11-13T11:00:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=dfe62afa96970d059543a50c70047fa05b8c0bea'/>
<id>dfe62afa96970d059543a50c70047fa05b8c0bea</id>
<content type='text'>
This brings in many fixes made to discovery where previously we were only using
the discovery package or the version in the release of Python that the test
execution was occuring on. (Robert Collins, #1271133)

Change-Id: I6270c8e8949262c01cb3a4e40735077ad6fc1ef2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings in many fixes made to discovery where previously we were only using
the discovery package or the version in the release of Python that the test
execution was occuring on. (Robert Collins, #1271133)

Change-Id: I6270c8e8949262c01cb3a4e40735077ad6fc1ef2
</pre>
</div>
</content>
</entry>
<entry>
<title>Depend on unittest2.</title>
<updated>2014-11-01T01:33:21+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-10-31T09:00:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=6f53a1a795bfcd7aa10ca3c2fbfd118964c9a0bc'/>
<id>6f53a1a795bfcd7aa10ca3c2fbfd118964c9a0bc</id>
<content type='text'>
unittest2 has backports of discover etc which allows us to make it a
stock feature rather than something that is present sometimes, and
which we have to carry ugly monkey patches for.

Change-Id: Ib30a4a9de8c58edf5d9c4ea5e06d49b0c821f12f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unittest2 has backports of discover etc which allows us to make it a
stock feature rather than something that is present sometimes, and
which we have to carry ugly monkey patches for.

Change-Id: Ib30a4a9de8c58edf5d9c4ea5e06d49b0c821f12f
</pre>
</div>
</content>
</entry>
<entry>
<title>Unbreak discovery from 0.9.38.</title>
<updated>2014-08-29T01:34:28+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-08-29T01:34:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=7dd699ac05a55b7cfcffcf6a4a1eb54081c52610'/>
<id>7dd699ac05a55b7cfcffcf6a4a1eb54081c52610</id>
<content type='text'>
'Whoops'. _jython_aware_splitext was not defined accurately
enough and broke outside of the testing context.

Change-Id: I4d6a421b90515b24c0f4ad08b5db818b8fec6fe9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'Whoops'. _jython_aware_splitext was not defined accurately
enough and broke outside of the testing context.

Change-Id: I4d6a421b90515b24c0f4ad08b5db818b8fec6fe9
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport fix for load_tests in package modules.</title>
<updated>2014-08-28T09:34:09+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-08-27T21:17:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=299865418d52b7531ec0bdc2cd5b60c12c263964'/>
<id>299865418d52b7531ec0bdc2cd5b60c12c263964</id>
<content type='text'>
Discover was not executing load_tests at the package level, in
contrast to the docs which suggested it was possible. This is a
backport of the Python upstream proposed fix.

Change-Id: Ib952d5ce4ae1a3da0cd27dcf09315d20055d6b5a
Closes-Bug: http://bugs.python.org/issue16662
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discover was not executing load_tests at the package level, in
contrast to the docs which suggested it was possible. This is a
backport of the Python upstream proposed fix.

Change-Id: Ib952d5ce4ae1a3da0cd27dcf09315d20055d6b5a
Closes-Bug: http://bugs.python.org/issue16662
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement discover import error detection on 2.6.</title>
<updated>2014-08-28T09:34:09+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-08-27T20:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=5c97b594784b5287d34e59d02aa09fd65c852d5b'/>
<id>5c97b594784b5287d34e59d02aa09fd65c852d5b</id>
<content type='text'>
Change-Id: I619a3cfa671ba4f1c0b4450c3a297046ec70bff1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I619a3cfa671ba4f1c0b4450c3a297046ec70bff1
</pre>
</div>
</content>
</entry>
<entry>
<title>Honour stdout on TestProgram more fully.</title>
<updated>2014-08-24T05:12:01+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2014-08-24T05:05:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=07543a19b68fb35cf9fd5bc241bed2afb4b22ecc'/>
<id>07543a19b68fb35cf9fd5bc241bed2afb4b22ecc</id>
<content type='text'>
We were failing to pass it into the runner, and this causes hilarity
for child runners which then end up with sys.stdout in their test
  suite, rather than their stub streams.

Change-Id: I19984102547f92493f330059928f7e0b3897c38c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were failing to pass it into the runner, and this causes hilarity
for child runners which then end up with sys.stdout in their test
  suite, rather than their stub streams.

Change-Id: I19984102547f92493f330059928f7e0b3897c38c
</pre>
</div>
</content>
</entry>
<entry>
<title>Indicate failed imports in list-tests.</title>
<updated>2013-11-24T18:14:45+00:00</updated>
<author>
<name>Robert Collins</name>
<email>robertc@robertcollins.net</email>
</author>
<published>2013-11-24T06:56:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/testtools.git/commit/?id=6da4893939c6fd2d732bb20a4ac50db2fe639132'/>
<id>6da4893939c6fd2d732bb20a4ac50db2fe639132</id>
<content type='text'>
Test listing now explicitly indicates by printing 'Failed to import' and
exiting (2) when an import has failed rather than only signalling through the
test name. This plus the introduction of a public helper lays the groundwork
for fixing a usability bug in testrepository caused by the interaction between
failed listings and user test filters.

Change-Id: I7fb8cb70c515c54d8febd68ba791c27db0a7a9c4
Closes-Bug: #1245672
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test listing now explicitly indicates by printing 'Failed to import' and
exiting (2) when an import has failed rather than only signalling through the
test name. This plus the introduction of a public helper lays the groundwork
for fixing a usability bug in testrepository caused by the interaction between
failed listings and user test filters.

Change-Id: I7fb8cb70c515c54d8febd68ba791c27db0a7a9c4
Closes-Bug: #1245672
</pre>
</div>
</content>
</entry>
</feed>
