Commits

Author Commit Message Labels Comments Date
Meme Dough
Added tag RELEASE_0_7 for changeset 27a53ff5537e
Meme Dough
Make consistent with rest of code. Added caplog as new name for funcarg.
Tags
RELEASE_0_7
holger krekel
put funcarg to global level so that "--funcargs" shows it.
Meme Dough
Added tag RELEASE_0_6 for changeset 84ef5cb86285
Meme Dough
Make tests compatible with pytest 2.0.
Tags
RELEASE_0_6
Meme Dough
Refactoring and generalising the setting of log levels. Renamed the plugin class. Since there is now an implementation of a logging handler it handles both the log record instances and the log text stream. Factored out the funcarg into its own class rather than returning the handler. Factored out the log level context manager from the handler to it own class. Store the handler on the item only since we can still get to it for the funcarg. A refere…
Floris Bruynooghe
Allow access to logrecords from the funcarg This stores the raw LogRecord instances inside the loghandler which is returned as the capturelog funcarg. This allows you to assert on the log records themself.
Floris Bruynooghe
Add capturelog funcarg This can be used to change the loglevel of the captured log. Either by using it as a normal handler object or by using it as a context manager.
Floris Bruynooghe
Fix existing tests Ensure the plugin is loaded. The order of the output depends on the order the plugins where loaded, so make the checking of the output independent of this order.
Meme Dough
Added tag RELEASE_0_5 for changeset f8e4912ca2e2
Meme Dough
Bump version to release Holger's doc patch.
Tags
RELEASE_0_5
Meme Dough
Applied patch from Holger that has docstring for automatic doc generation.
Meme Dough
Added tag RELEASE_0_4 for changeset 6dde5069e54d
Meme Dough
Avoid threading issues and ensure each test sets up root logger. Each test now has its own handler and stream to avoid threading issues. Each test ensures that the root logger is setup to capture log messages. The reporting of log messages occurring outside of a test has been removed. Updated docs with examples.
Tags
RELEASE_0_4
Meme Dough
Added command line options to specify log formatting.
Meme Dough
Added tests.
Meme Dough
Added tag RELEASE_0_3 for changeset 736ed9b95afc
Meme Dough
Added usage section to README. Bumped version for release.
Tags
RELEASE_0_3
Meme Dough
After config options have been parsed a capturer plugin is created only if logging is to be captured. Only a single handler and formatter are created and attached to the root logger, instead of one for every test. Each test has its own stream which the single handler is directed to use for the duration of each test. At the end of each test the stream is released so that it may be garbage collected if appropriate. Any logging that occurs outside of a test is output on the final summary.
Meme Dough
Added tag RELEASE_0_2 for changeset 4504c0b32e89
Meme Dough
Cleaned up.
Tags
RELEASE_0_2
Meme Dough
Added tag RELEASE_0_1 for changeset f29a3e197d95
Meme Dough
Initial commit of a py.test plugin to capture log messages.
Tags
RELEASE_0_1