On Wed, Jun 06, 2012 at 15:41 +0200, Ronny Pfannschmidt wrote: > > Which plugins do you have in mind that directly could/would use it? > > > > pytest-couchdbkit -> db dumps and later on db logs as well > pytest-ghost/mozwebqa -> browser screenshots > > also it would be interesting for logcapture/stdcapture > to drop the output there for better post-mortem
I see the usefullness of something like this. If you go for this, please also care for documentation and examples and look into actually allowing storage of stdout/stderr by introducing a --capture-to-files option where a failing test should report the path to the non-empty files. One slightly open question is the name "testdatadir" - it's a bit long and "testdir" is currently used (mostly for pytests own testing purposes but also from some plugins). We can postpone that question, however. On a sidenote, a seperate issue is to review and integrate the logging plugin because it relates to a standard library module anyway. Part of the complexity of pytest's capture.py plugin stems from some of the logging package's behaviour and i guess by integrating the logging plugin we might get rid of that eventually. holger > -- Ronny > _______________________________________________ > py-dev mailing list > py-dev@codespeak.net > http://codespeak.net/mailman/listinfo/py-dev > _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev