Re: [pytest-dev] [proposal] global and per item data stashes

2019-10-15 Thread Bruno Oliveira
Hi Ronny, As you have shared this before in chat, at first glance it sounds like a good idea! Some questions that we can probably elaborate on once we have something more concrete to discuss: 1. You say "each stash would be a context manager", but it is not clear to me how this would work in

[pytest-dev] [proposal] global and per item data stashes

2019-10-15 Thread Ronny Pfannschmidt
Problem: for the storage of helper objects that either tackle certain global tracking details or that track information over the testprotocol lifecycle of test items, we use monkeypatchs and generally just munge around in either the pytest config object or item objects. I would like to propose a