./www/py-test-django, Django plugin for pytest

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


Branch: CURRENT, Version: 3.9.0, Package name: py37-test-django-3.9.0, Maintainer: pkgsrc-users

pytest-django allows you to test your Django project/applications with the
pytest testing tool.

Running your test suite with pytest-django allows you to tap into the features
that are already present in pytest. Here are some advantages:
* Manage test dependencies with pytest fixtures.
* Less boilerplate tests: no need to import unittest, create a subclass with
methods. Write tests as regular functions.
* Database re-use: no need to re-create the test database for every test run.
* Run tests in multiple processes for increased speed (with the pytest-xdist
plugin).
* Make use of other pytest plugins.
* Works with both worlds: Existing unittest-style TestCase's still work
without any modifications.


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

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

Master sites:

SHA1: 70eebe8d1c6a707461ed7b07ac5b58ca5f28424f
RMD160: 8829f90cd33fae7e0a7e455f4d5e31a18ed12add
Filesize: 68.846 KB

Version history: (Expand)


CVS history: (Expand)


   2020-05-16 20:02:59 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
pytest from versioned depends
   2020-04-06 18:55:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.9.0

v3.9.0:

Improvements
* Improve test ordering with Django test classes
* Remove import of pkg_resources for parsing pytest version (performance)

Bugfixes
* Work around unittest issue with pytest 5.4.{0,1}
* Don't break --failed-first when re-ordering tests
* pytest_addoption: use `group.addoption`

Misc
* Remove Django version from --nomigrations heading
* docs: changelog: prefix headers with v for permalink anchors
* changelog: add custom/fixed anchor for last version
* setup.py: add Changelog to project_urls
   2020-01-14 17:05:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-django: updated to 3.8.0

3.8.0:
* Make Django's assertion helpers available in pytest_django.asserts.
* Report django-configurations setting
   2019-11-13 21:56:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.7.0

3.7.0:
Bugfixes
* Monkeypatch pytest to not use ``TestCase.debug`` with unittests, instead
  of patching it into Django.
* Work around pytest crashing due to ``pytest.fail`` being used from within the
  DB blocker, and pytest trying to display an object representation involving
  DB access.  pytest-django uses a ``RuntimeError`` now instead.
   2019-11-05 08:49:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.6.0

3.6.0:
Features
* Rename test databases when running parallel Tox

Bugfixes
* Django unittests: restore "debug" function

Misc
* Improve/harden internal tests / infrastructure.
   2019-07-01 13:02:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.5.1

3.5.1:
Bugfixes
Fix compatibility with pytest 5.x
   2019-06-05 07:14:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.5.0

3.5.0:

Features
* Run tests in the same order as Django
* Use verbosity=0 with disabled migrations

Bugfixes
* django_db_setup: warn instead of crash with teardown errors

Misc
* tests: fix test_sqlite_database_renamed
* tests/conftest.py: move import of db_helpers
* Cleanup/improve coverage, mainly with tests
* Slightly revisit unittest handling
   2019-02-27 13:07:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-django: updated to 3.4.8

3.4.8:
Fix DB renaming fixture for Multi-DB environment with SQLite