<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/tests/test_testing.py, branch v5.x</title>
<subtitle>github.com: nedbat/coveragepy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/'/>
<entry>
<title>test: simplify how StopEverything is converted to skip</title>
<updated>2021-03-11T20:25:11+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-03-11T20:25:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=1bdcc691f5127edf9f197f8b509a2eeff51edcd6'/>
<id>1bdcc691f5127edf9f197f8b509a2eeff51edcd6</id>
<content type='text'>
The auto-decorating metaclass was interfering with parameterized methods
on Python 2.7.  But we don't need it anymore anyway, since pytest will
let us hook to deal with the exception in a simpler way.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The auto-decorating metaclass was interfering with parameterized methods
on Python 2.7.  But we don't need it anymore anyway, since pytest will
let us hook to deal with the exception in a simpler way.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: move tests into classes</title>
<updated>2021-03-11T11:38:43+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-03-11T11:11:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=5f6fd5aa9e4b08ac4cbc4a85ee566245c26967b5'/>
<id>5f6fd5aa9e4b08ac4cbc4a85ee566245c26967b5</id>
<content type='text'>
Now that we don't inherit from TestCase, pytest can parametrize methods.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we don't inherit from TestCase, pytest can parametrize methods.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use pytest.skip instead of unittest's</title>
<updated>2021-03-11T11:38:43+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-03-09T00:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=7cf60e32077ae480ebd9b435c6c0dc3c0042b30f'/>
<id>7cf60e32077ae480ebd9b435c6c0dc3c0042b30f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: no need for specialized assert_starts_with method</title>
<updated>2021-03-06T14:11:26+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-03-06T14:11:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=26e2f9b6f22fd29efe3e4bd7df63acc144950c80'/>
<id>26e2f9b6f22fd29efe3e4bd7df63acc144950c80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: add tests of the failure asserts from check_coverage</title>
<updated>2021-02-23T01:18:39+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-02-23T00:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=cc2afd8ea9c3aed22af29b2c14484230f46732e7'/>
<id>cc2afd8ea9c3aed22af29b2c14484230f46732e7</id>
<content type='text'>
This brings the coverage of tests/coveragetest.py to 100%.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings the coverage of tests/coveragetest.py to 100%.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: remove unittest.assertCountEqual</title>
<updated>2021-02-06T12:38:49+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-02-06T12:21:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=2e4b2977c78e254797d07c39e933fd535d4b0cec'/>
<id>2e4b2977c78e254797d07c39e933fd535d4b0cec</id>
<content type='text'>
Another step toward removing unittest.TestCase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Another step toward removing unittest.TestCase.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: move test mixins to their own file</title>
<updated>2021-02-02T14:04:58+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-02-02T14:04:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=9012623110f49635fff61d19a4f5bb779de91b99'/>
<id>9012623110f49635fff61d19a4f5bb779de91b99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: adapt to pytest assertion messages</title>
<updated>2021-01-31T14:20:49+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-01-31T13:16:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=716b31214126c4a06d8262a62153e5d1fa45fa54'/>
<id>716b31214126c4a06d8262a62153e5d1fa45fa54</id>
<content type='text'>
Bare "assert" statements don't produce the same assertion message as
self.assertEqual did: they don't include the two values compared.  For
some of our own asserts, add back the detailed message.  For some checks
of asserts, it's fine that the values are missing because the longer
messsage includes the information.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bare "assert" statements don't produce the same assertion message as
self.assertEqual did: they don't include the two values compared.  For
some of our own asserts, add back the detailed message.  For some checks
of asserts, it's fine that the values are missing because the longer
messsage includes the information.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix unittest2pytest brokenness</title>
<updated>2021-01-31T14:20:43+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-01-31T12:41:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=6e93714d655c87e62cd03a4ff3e1739245b684b9'/>
<id>6e93714d655c87e62cd03a4ff3e1739245b684b9</id>
<content type='text'>
unittest2pytest created syntax errors, reported here:
https://github.com/pytest-dev/unittest2pytest/issues/51

This commit fixes them back.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unittest2pytest created syntax errors, reported here:
https://github.com/pytest-dev/unittest2pytest/issues/51

This commit fixes them back.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: unittest2pytest -w tests</title>
<updated>2021-01-31T12:16:56+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-01-31T12:16:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=843de4ea235e7eee3ff24a39a2f8b14da9ef0db0'/>
<id>843de4ea235e7eee3ff24a39a2f8b14da9ef0db0</id>
<content type='text'>
One step of moving to pure pytest tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One step of moving to pure pytest tests.
</pre>
</div>
</content>
</entry>
</feed>
