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

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


Branch: CURRENT, Version: 3.3.2, Package name: py27-test-django-3.3.2, 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] [lang/python27] [devel/py-test]

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

Master sites:

SHA1: 930bf059b51a18dc08cf24fefbe438b83a565651
RMD160: c2f6e3d8a2344ddd83b69cd583094378120a907c
Filesize: 63.528 KB

Version history: (Expand)


CVS history: (Expand)


   2018-06-24 13:19:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-django: updated to 3.3.2

3.3.2:
Unknown changes

3.3.1:
Bug fixes
* Fixed test for classmethod with Django TestCases again
Compatibility
* Support Django 2.1 (no changes necessary)
   2018-06-16 08:23:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.3.0

3.3.0:
Features
Added new fixtures django_mail_dnsname and django_mail_patch_dns, used by \ 
mailoutbox to monkeypatch the DNS_NAME used in django.core.mail to improve \ 
performance and reproducibility.

Bug fixes
Fixed test for classmethod with Django TestCases
Fixed RemovedInPytest4Warning: MarkInfo objects are deprecated
Fixed scope of overridden settings with live_server fixture: previously they \ 
were visible to following tests
   2018-04-18 09:09:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-django: updated to 3.2.1

3.2.1
Fix automatic deployment to PyPI.

3.2.0
Features:
Added new fixture django_assert_num_queries for testing the number of database \ 
queries
–fail-on-template-vars has been improved and should now return full/absolute path
Support for setting the live server port
unittest: help with setUpClass not being a classmethod

Bug fixes:
Fix –reuse-db and –create-db not working together
Numerous fixes in the documentation. These should not go unnoticed.

Compatibilitya:
Support for Django 2.0 has been added.
Support for Django before 1.8 has been dropped.
   2018-03-24 18:06:44 by Joerg Sonnenberger | Files touched by this commit (2)
Log message:
Relax overly restrictive dependency.
   2018-01-11 15:07:11 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-test-django: added version 3.1.2

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.