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 files for dutch-boy 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dutch-boy-0.1.8.tar.gz | 8.3 kB | Details |
Release files / dutch-boy-0.1.8.tar.gz
| Download URL | dutch-boy-0.1.8.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
576c6f2d8ce4f71fbfa8d1c2f37c466411a7a58286ad3de16fc51c7c92930932
|
|
BLAKE2b-256 checksum How to use checksums |
61a4f49dac1b8e51fddebfd03f9783a38c58a76ec3b8c446555e3a4accf13f54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |