Skip to main content

A library for detecting memory leaks in tests, mainly with mocks

Project description

=========
dutch-boy
=========

Mock and memory leak detector library. Right now this just features a plugin
for Nose 1.x.

This plugin:
* Detects mocks that are not reset between tests.
* Detects mocks created during tests that are not deleted by the end of the test.
* Reports memory delta between tests. Optional.

To learn the story of the name, visit `https://en.wikipedia
.org/wiki/Hans_Brinker,_or_The_Silver_Skates`_.

============
Django Setup
============

To use this plugin with django nose runner, just include the following in your settings file::

NOSE_PLUGINS = [
'dutch_boy.nose.LeakDetectorPlugin']
NOSE_ARGS = ['--with-leak-detector', '--leak-detector-level=3']

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dutch-boy-0.1.7.tar.gz (8.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page