[py-dev] RFC pytest metadata store plugin

Ronny Pfannschmidt Ronny.Pfannschmidt at gmx.de
Sun Feb 14 09:06:27 CET 2010


hi,

i just got a basic item for a pytest caching plugin


it would basically be a key-value store for test items/fspath items

it should provide 2 objects as funcargs/py.test namesspace items

path_meta
    store key-values for the current fspath
item_meta
    store key-values for the current test item

the need i have for such a feature is based in the speed issue of the
codecheckers plugin, in particular pep8 is slow, and should be skipped
in case of the file's mtime being less than the last run of the pep8
check and had no issues

issues i havent clearly tought about yet is how to store and where to
store

options i currently can think of are:

- xattr on the actual files/alternative streams
- a sqlite db

-- Ronny




More information about the Pytest-dev mailing list