Skip to main content

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

Project description


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,_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_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.

Files for dutch-boy, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size dutch-boy-0.1.8.tar.gz (8.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page