Metadata-Version: 2.1
Name: dutch-boy
Version: 0.1.8
Summary: A library for detecting memory leaks in tests, mainly with mocks
Home-page: https://github.com/Nextdoor/dutch-boy
Author: Andrew S. Brown
Author-email: asbrown@nextdoor.com
License: BSD
Download-URL: https://github.com/Nextdoor/dutch-boy/archive/0.1.8#egg=dutch-boy-0.1.8
Keywords: testing,memory,nose,mocks
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Software Development :: Testing

=========
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']



