./devel/py-nose2, Next generation of nicer testing for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.10.0, Package name: py39-nose2-0.10.0, Maintainer: pkgsrc-users

nose2 is the next generation of nicer testing for Python, based on the
plugins branch of unittest2.


Required to run:
[devel/py-setuptools] [devel/py-coverage] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 154.086 KB

Version history: (Expand)


CVS history: (Expand)


   2021-11-03 10:50:09 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nose2: updated to 0.10.0

0.10.0 (2020-01-27)
-------------------

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
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-02-02 06:59:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-nose2: updated to 0.9.2

0.9.2

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

Fixed
* It is now possible to use the multiprocess and coverage plugins together, as
  long as all of the coverage config is put into the config file
* Minor changes to be compatible with newer pythons (3.8, 3.9)
   2019-05-02 11:38:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-nose2: updated to 0.9.1

0.9.1

Changed
* 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

Fixed
* the prettyassert plugin mishandled multi-line function definitions
* Using a plugin's CLI flag when the plugin is already enabled via config no
  longer errors -- it is a no-op instead
   2019-03-22 18:48:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nose2: updated to 0.9.0

0.9.0

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

Changed
* Update trove classifier to "beta" from "alpha" status
* Cleanup code for EOLed python versions

Removed
* Dropped support for distutils. Installation now requires setuptools

Fixed
* Result reporter respects failure status set by other plugins
* JUnit XML plugin now includes the skip reason in its output
   2018-08-13 09:28:39 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-nose2: updated to 0.8.0

0.8.0:
Fixed
- For junitxml plugin use test module in place of classname if no classname exists
Features
- Add code to enable plugins to documentation
Dropped support for python 3.3
   2018-02-22 11:33:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-nose2: updated to 0.7.4

0.7.4:
Fixed
* Respect fail_under in converage config
* Avoid infinite recursion when loading setuptools from zipped egg
* Manpage now renders reproducably
* MP doc build now reproducable

Features
*  Setup tools invocation now handles coverage

Notes
* Running nose2 via setuptools will now trigger CreateTestsEvent and \ 
CreatedTestSuiteEvent