https://github.com/nextdoor/dutch-boy
A Memory Leak Detector Plugin for Nose
https://github.com/nextdoor/dutch-boy
Last synced: over 1 year ago
JSON representation
A Memory Leak Detector Plugin for Nose
- Host: GitHub
- URL: https://github.com/nextdoor/dutch-boy
- Owner: Nextdoor
- License: bsd-2-clause
- Created: 2016-03-07T19:05:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T16:08:53.000Z (over 9 years ago)
- Last Synced: 2025-04-09T10:18:26.395Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 4
- Watchers: 22
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
=========
dutch-boy
=========
.. image:: https://circleci.com/gh/Nextdoor/dutch-boy.svg?style=svg
:target: https://circleci.com/gh/Nextdoor/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 ``_.
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']