[pypy-issue] [issue1214] stdlib test granularity
Ronny Pfannschmidt
tracker at bugs.pypy.org
Thu Jul 12 13:01:02 CEST 2012
New submission from Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>:
steps:
1. classify tests as script,
needing test_support.run_unittest/test_main and directly collectable
2. create a collector that collects test items in a py.py/pypy-bin subprocess
and reports them (could be a py.py -m pytest --collectonly -q)
3. create a runner that can run selected tests of a single file in a
py.py/pypy-bin subprocess (could be based on xdist dsession or just starting
py.py -m pytest <itemid> every time)
4. create a mechanism to cache per file collected items - since the collector
will be a extra process it seems sensible to avoid having it
(putting a json with the rough structure of { filename: {"content-sha1": sha1,
"nodes": [nodeids, ...]}} seems sensible
----------
messages: 4576
nosy: pypy-issue, ronny
priority: feature
status: unread
title: stdlib test granularity
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1214>
________________________________________
More information about the pypy-issue
mailing list