Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Template usage reports for testing Django applications with Nose.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 templateusage
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.rst
Octocat-spinner-32 VERSION
Octocat-spinner-32 setup.py
README.rst

nose-template-usage

A Nose plugin that displays which Django templates were and were not used (loaded) during test execution.

Installation

pip install nose-template-usage

Usage

To enable the template usage report, include the --with-template-usage-report command line option when running your tests with python setup.py nosetests or the nosetests command.

Ignoring Directories

You probably don't want to include templates from third-party libraries in your template usage report. To ignore template prefixes, use the --ignore-template-prefix=path/ option. The value of the path/ is the path relative to the template loader.

Something went wrong with that request. Please try again.