./devel/py-test4, Python testing tool

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


Branch: CURRENT, Version: 4.6.11nb1, Package name: py27-test-4.6.11nb1, Maintainer: pkgsrc-users

The pytest framework makes it easy to write small tests, yet scales to support
complex functional testing for applications and libraries.

Features
* Detailed info on failing assert statements (no need to remember self.assert*
names);
* Auto-discovery of test modules and functions;
* Modular fixtures for managing small or parametrized long-lived test
resources;
* Can run unittest (including trial) and nose test suites out of the box;
* Rich plugin architecture, with over 315+ external plugins and thriving
community;

This package contains the last version supporting python 2.7.


Required to run:
[textproc/py-expat] [devel/py-setuptools] [devel/py-py] [lang/py-six] [devel/py-more-itertools] [devel/py-atomicwrites] [devel/py-pluggy] [devel/py-attrs] [devel/py-wcwidth] [devel/py-packaging] [lang/python37] [devel/py-importlib-metadata]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

Filesize: 929.985 KB

Version history: (Expand)


CVS history: (Expand)


   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2023-04-30 15:01:05 by Thomas Klausner | Files touched by this commit (2)
Log message:
*: switch python2 packages to use py27-attrs
   2023-04-30 14:31:07 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-test4: stop using py-argcomplete
   2022-10-11 13:52:44 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test4: updated to 4.6.11

pytest 4.6.11 (2020-06-04)
==========================

Bug Fixes
---------

- Fix summary entries appearing twice when ``f/F`` and ``s/S`` report chars were \ 
used at the same time in the ``-r`` command-line option (for example ``-rFf``).

  The upper case variants were never documented and the preferred form should be \ 
the lower case.

- Fix ``UnboundLocalError: local variable 'letter' referenced before
  assignment`` in ``_pytest.terminal.pytest_report_teststatus()``
  when plugins return report objects in an unconventional state.

  This was making ``pytest_report_teststatus()`` skip
  entering if-block branches that declare the ``letter`` variable.

  The fix was to set the initial value of the ``letter`` before
  the if-block cascade so that it always has a value.
   2022-07-13 21:14:16 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-test4: py-setuptools_scm is build, not test, dependency
   2022-07-08 16:49:28 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-test4: comment out py-requests test dependency

py-requests will soon not support python 2.x
   2022-07-08 15:30:52 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-test4: limit to python 2.7 and mention python 2.7 in DESCR
   2022-01-25 10:05:12 by Thomas Klausner | Files touched by this commit (10)
Log message:
*: use versioned_dependencies.mk for py-importlib-metadata