This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Nose Django Querycount Plugin
========================

Counts queries for each test and shows result in the end in table. XML otput
and other fancy stuff will be added later.

Installation
------------
From the source repository:

$ pip install git+git://github.com/dgladkov/nose-django-querycount.git

From PyPI:

$ pip install nose-django-querycount

Usage
------------

Currently only nose is supported, but native Django runner support is planned.
Run like following:

$ nosetests --with-querycount

Alternatively, if you use [django-nose][], add it to your Django settings
like so:

NOSE_ARGS = ['--with-querycount']
NOSE_PLUGINS = [
'nosequerycount.plugin.DjangoQueryCountPlugin',
]

Options
------------

$ nosetests --with-querycount --querycount-threshold=15

Provides query count threshold for each test. If test run exceeds 15 queries,
query count number will be red. Works only for terminal output and only if
your terminal application supports coloring.

Warning
------------

**This plugin sets DEBUG=True for tests, it can break your existing tests!**

Django test runner sets DEBUG to False when when running test, but Django
saves query log only when DEBUG mode is enabled.


[django-nose]: https://github.com/jbalogh/django-nose
Release History

Release History

0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nose-django-querycount-0.3.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Mar 13, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting