Skip to content

Commit

Permalink
Update docs with @stefanholek's excellent work!
Browse files Browse the repository at this point in the history
Plus some minor tweaks/fixes.

Add him to the authors file and update the changelog with changes
slated for v0.10.0 .

Included but unrelated:

- Fix single-backtick to double-backtick in changelog where
  appropriate
- Update readme badges
- Update setup.py classifiers for supported pythons
  • Loading branch information
sirosen committed Jan 27, 2021
1 parent 0fed48f commit a88b336
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 17 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Ilya Kurnosov
Philip Thiem
Aloys Baillet
Stephen Rosen
Stefan Holek
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.. image:: https://travis-ci.org/nose-devs/nose2.svg?branch=master
:target: https://travis-ci.org/nose-devs/nose2
:alt: Build Status

.. image:: https://coveralls.io/repos/github/nose-devs/nose2/badge.svg?branch=master
:target: https://coveralls.io/github/nose-devs/nose2?branch=master
:alt: Coverage Status
.. image:: https://github.com/nose-devs/nose2/workflows/build/badge.svg?event=push
:alt: build status
:target: https://github.com/nose-devs/nose2/actions?query=workflow%3Abuild

.. image:: https://img.shields.io/pypi/v/nose2.svg
:target: https://pypi.org/project/nose2/
:alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/pyversions/nose2.svg
:alt: Supported Python Versions
:target: https://pypi.org/project/nose2/

.. image:: https://img.shields.io/badge/Mailing%20list-discuss%40nose2.io-blue.svg
:target: https://groups.google.com/a/nose2.io/forum/#!forum/discuss
:alt: Join discuss@nose2.io
Expand Down
59 changes: 50 additions & 9 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,54 @@ nose2 uses semantic versioning (currently in 0.x) and the popular
Unreleased
----------

Added
~~~~~

* Support for subtests!

Notes for plugin authors about subtest support:

* Subtest failures will produce a ``TestOutcomeEvent`` with ``outcome = "subtest"``

* Subtest events can be failures, but they do not indicate success -- the
containing test will send a success event if no subtests fail

Changed
~~~~~~~

* Drop support for Python 3.4

* Python 3.8 and 3.9 are now officially supported

* Improve helptext for the multiprocess plugin's ``-N`` option

* When run with reduced verbosity (e.g. with ``-q``), ``nose2`` will no longer
print an empty line before test reports

Fixed
~~~~~

* The plugin registry will no longer contain duplicate plugins and or base
``event.Plugin`` instances

* Fix function test case implementation of ``id``, ``__str__``, and
``__repr__``. This removes the injected ``transplant_class.<locals>`` from
reporting output

* Doctest loading will now skip ``setup.py`` files in the project root

* Class methods decorated (e.g. with ``mock.patch``) are no longer incorrectly
picked up by the function loader

Merge pull request #485 from stefanholek/484-session-plugin-registry

0.9.2
-----

Added
~~~~~

* Add `--junit-xml-path` to the junit plugin argument list
* Add ``--junit-xml-path`` to the junit plugin argument list

Fixed
~~~~~
Expand All @@ -29,10 +70,10 @@ Fixed
Changed
~~~~~~~

* the prof plugin now uses `cProfile` instead of `hotshot` for profiling, and
therefore now supports python versions which do not include `hotshot`
* the prof plugin now uses ``cProfile`` instead of ``hotshot`` for profiling, and
therefore now supports python versions which do not include ``hotshot``

* skipped tests now include the user's reason in junit XML's `message` field
* skipped tests now include the user's reason in junit XML's ``message`` field

Fixed
~~~~~
Expand All @@ -48,8 +89,8 @@ Fixed
Added
~~~~~

* nose2.plugins.prettyassert, enabled with `--pretty-assert`, which
pretty-prints AssertionErrors generated by `assert` statements
* nose2.plugins.prettyassert, enabled with ``--pretty-assert``, which
pretty-prints AssertionErrors generated by ``assert`` statements

Changed
~~~~~~~
Expand All @@ -61,7 +102,7 @@ Changed
Removed
~~~~~~~

* Dropped support for `distutils`. Installation now requires `setuptools`
* Dropped support for ``distutils``. Installation now requires ``setuptools``

Fixed
~~~~~
Expand Down Expand Up @@ -99,12 +140,12 @@ Added
Changed
~~~~~~~

* Running `nose2` via `setuptools` will now trigger `CreateTestsEvent` and `CreatedTestSuiteEvent`
* Running ``nose2`` via ``setuptools`` will now trigger ``CreateTestsEvent`` and ``CreatedTestSuiteEvent``

Fixed
~~~~~

* Respect `fail_under` in converage config
* Respect ``fail_under`` in converage config
* Avoid infinite recursion when loading setuptools from zipped egg
* Manpage now renders reproducibly
* MP doc build now reproducible
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
Expand Down

0 comments on commit a88b336

Please sign in to comment.