Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 and is in beta.

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.

Pull requests are welcome. In particular, area I’m looking to improve are: - adding a pytest test runner - improving memory delta reporting

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']
Release History

Release History

This version
History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dutch-boy-0.1.8.tar.gz (8.3 kB) Copy SHA256 Checksum SHA256 Source Jun 2, 2016

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