[pytest-dev] Fwd: Re: Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Ronny Pfannschmidt
forwarding as i send it with the wrong sender address Forwarded Message Subject:Re: [pytest-dev] Proposal: python namespacign for markings/marker objects Date: Wed, 19 Oct 2016 17:24:32 +0200 From: Ronny Pfannschmidt To: Floris Bruynooghe , pytest-dev On 19.1

[pytest-dev] Fwd: Re: ANN: pytest-external-blockers - prototype released

2016-10-20 Thread Ronny Pfannschmidt
forwarding as i send it with the wrong sender address Forwarded Message Subject:Re: [pytest-dev] ANN: pytest-external-blockers - prototype released Date: Wed, 19 Oct 2016 17:27:42 +0200 From: Ronny Pfannschmidt To: Floris Bruynooghe , Ronny Pfannschmidt CC:

Re: [pytest-dev] Fwd: Re: Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Florian Bruhin
* Ronny Pfannschmidt [2016-10-20 09:07:47 +0200]: > > Finally, and I only just remembered, Holger has some lingering code > > somewhere which does something like: > > > > @pytest.marker > > def blocker(n): > > return {'issue no': int(n)} # or whatever object you want your marker > > to be >

Re: [pytest-dev] Fwd: Re: Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Ronny Pfannschmidt
On 20.10.2016 09:17, Florian Bruhin wrote: > * Ronny Pfannschmidt [2016-10-20 09:07:47 > +0200]: >>> Finally, and I only just remembered, Holger has some lingering code >>> somewhere which does something like: >>> >>> @pytest.marker >>> def blocker(n): >>> return {'issue no': int(n)} # or

Re: [pytest-dev] Fwd: Re: Proposal: python namespacign for markings/marker objects

2016-10-20 Thread holger krekel
Hey Ronny, On Thu, Oct 20, 2016 at 09:07 +0200, Ronny Pfannschmidt wrote: > forwarding as i send it with the wrong sender address I find it better to send a wrongly-sent mail afresh (copy+paste) than forwarding because this forwarding looses threading-info. > > Finally, and I only just remember

Re: [pytest-dev] Proposal: python namespacign for markings/marker objects

2016-10-20 Thread holger krekel
Hey Ronny, i'd like to get back to your original suggestion ... On Wed, Sep 07, 2016 at 11:38 +0200, Ronny Pfannschmidt wrote: > Hi all, > > while trying to turn various internal markers of a work project > into public plugins, i noticed a very plain problems - different other > plugins used the

Re: [pytest-dev] Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Ronny Pfannschmidt
Hi Holger, On 20.10.2016 10:56, holger krekel wrote: > Hey Ronny, > > i'd like to get back to your original suggestion ... > > On Wed, Sep 07, 2016 at 11:38 +0200, Ronny Pfannschmidt wrote: >> Hi all, >> >> while trying to turn various internal markers of a work project >> into public plugins, i

Re: [pytest-dev] Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Bruno Oliveira
On Thu, Oct 20, 2016 at 7:12 AM Ronny Pfannschmidt < opensou...@ronnypfannschmidt.de> wrote: On 20.10.2016 10:56, holger krekel wrote: > Hey Ronny, > > i >> while trying to turn various internal markers of a work project >> into public plugins, i noticed a very plain problems - different other >>

Re: [pytest-dev] Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Ronny Pfannschmidt
HI Bruno On 20.10.2016 14:20, Bruno Oliveira wrote: > On Thu, Oct 20, 2016 at 7:12 AM Ronny Pfannschmidt > > wrote: > > > On 20.10.2016 10:56, holger krekel wrote: > > Hey Ronny, > > > > i > >> while trying to turn various internal mark

Re: [pytest-dev] Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Bruno Oliveira
Hey Ronny, On Thu, Oct 20, 2016 at 10:55 AM Ronny Pfannschmidt < opensou...@ronnypfannschmidt.de> wrote: > b) Another suggestion from Ronny: running collection and getting used > marker names. I'm not entirely sure what this means exactly, since the > original proposal doesn't use "names" at all

Re: [pytest-dev] Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Ronny Pfannschmidt
On 20.10.2016 15:14, Bruno Oliveira wrote: > Hey Ronny, > > > On Thu, Oct 20, 2016 at 10:55 AM Ronny Pfannschmidt > > wrote: > >> b) Another suggestion from Ronny: running collection and getting >> used marker names. I'm not entirely sure what this

Re: [pytest-dev] Proposal: python namespacign for markings/marker objects

2016-10-20 Thread Bruno Oliveira
On Thu, Oct 20, 2016 at 12:33 PM Ronny Pfannschmidt < opensou...@ronnypfannschmidt.de> wrote: I'm still not getting how that fits with the collection of *tests*... consider this module: # contents of test_foo.py from pytest_blocker import Blocker @Blocker(123) def test_foo(): pass fist that

Re: [pytest-dev] process for replacing yield tests with modern style

2016-10-20 Thread Floris Bruynooghe
On 29 August 2016 at 09:31, Ronny Pfannschmidt wrote: > Hi Chris, > > currently there is no easy/good Replacement for the use-case you outline. > the "correct" way would be a custom py.test specific collector Yeah, a custom collector is the way to go here. I agree that it was never really the co