django_coverage_plugin

A plugin for coverage.py to measure Django template execution

APACHE-2.0 License

Downloads
471.3K
Stars
196
Committers
17
django_coverage_plugin - v3.1.0 Latest Release

Published by nedbat over 1 year ago

Dropped support for Python 3.7 and Django 1.x. Declared support for Python 3.12.

django_coverage_plugin - v3.0.0

Published by nedbat almost 2 years ago

Dropped support for Python 2.7, Python 3.6, and Django 1.8.

django_coverage_plugin - v2.0.4

Published by nedbat almost 2 years ago

Declare our support for Python 3.11 and Django 4.1.

django_coverage_plugin - v1.0

Published by nedbat over 2 years ago

First version :)

django_coverage_plugin - v1.1

Published by nedbat over 2 years ago

Explicitly configure settings if need be to get things to work.

django_coverage_plugin - v1.2.1

Published by nedbat over 2 years ago

The template debug settings are checked properly for people still using TEMPLATE_DEBUG in newer versions of Django.

django_coverage_plugin - v1.2

Published by nedbat over 2 years ago

Check if template debugging is enabled in the settings, and raise a visible warning if not. This prevents mysterious failures of the plugin, and fixes issue 17.

Potential Django 1.9 support is included, but the patch to Django hasn't been applied yet.

django_coverage_plugin - v1.2.2

Published by nedbat over 2 years ago

No change in code, but Django 1.9.2 is now supported.

django_coverage_plugin - v1.3.1

Published by nedbat over 2 years ago

Settings are read slightly differently, so as to not interfere with programs that don't need settings. Fixes issue 18.

django_coverage_plugin - v1.3

Published by nedbat over 2 years ago

Multiple template engines are allowed. Thanks, Simon Charette.

django_coverage_plugin - v1.4

Published by nedbat over 2 years ago

Django 1.10.5 is now supported.

Checking settings configuration is deferred so that settings.py is included in coverage reporting. Fixes issue 28.

Only the django.template.backends.django.DjangoTemplates template engine is supported, and it must be configured with ['OPTIONS']['debug'] = True. Fixes issue 27.

django_coverage_plugin - v1.4.2

Published by nedbat over 2 years ago

Fixes another instance of issue 32, which was the result of an initialization order problem.

django_coverage_plugin - v1.5.0

Published by nedbat over 2 years ago

Removes support for Django versions below 1.8. Validates support for Django version 1.11b1

django_coverage_plugin - v1.8.0

Published by nedbat over 2 years ago

Add support for:

  • Coverage 5
django_coverage_plugin - v2.0.3

Published by nedbat over 2 years ago

Add support for Django 4.0.

django_coverage_plugin - v2.0.2

Published by nedbat over 2 years ago

If a non-UTF8 file was found when looking for templates, it would fail when reading during the reporting phase, ending execution. This failure is now raised in a way that can be ignored with a .coveragerc setting of [report] ignore_errors=True (issue 78).

When using source=., an existing coverage HTML report directory would be found and believed to be unmeasured HTML template files. This is now fixed.

django_coverage_plugin - v2.0.1

Published by nedbat about 3 years ago

Test and claim our support on Python 3.10.

django_coverage_plugin - v2.0.0

Published by nedbat over 3 years ago

Drop support for Python 3.4 and 3.5.

A setting is available: template_extensions lets you set the file extensions that will be considered when looking for unused templates (requested in issue 60).

Fix an issue on Windows where file names were being compared case-sensitively, causing templates to be missed (issue 46).

Fix an issue (issue 63) where tag libraries can't be found if imported during test collection. Thanks to Daniel Izquierdo for the fix.

django_coverage_plugin - v1.7.0

Published by jambonrose almost 5 years ago

Add support for:

  • Python 3.7 & 3.8
  • Django 2.2 & 3.0
django_coverage_plugin - v1.6.0

Published by jambonrose about 6 years ago

Add support for Django 2.1.

Package Rankings
Top 2.61% on Pypi.org
Top 34.71% on Conda-forge.org