pytest-tricks icon indicating copy to clipboard operation
pytest-tricks copied to clipboard

Add markers programmatically

Open hackebrot opened this issue 8 years ago • 10 comments

hackebrot avatar Feb 17 '16 01:02 hackebrot

@The-Compiler @nicoddemus wanna jump in on this one? Thinking of something similar to what we did for qutebrowser with a gui marker. :grin:

hackebrot avatar Feb 24 '16 22:02 hackebrot

Can do so, but probably not this week - if you don't hear back in a week, can you ping me again? :wink:

The-Compiler avatar Feb 24 '16 22:02 The-Compiler

Hmm not sure this ticket will still be open in a week :dash:

hackebrot avatar Feb 24 '16 22:02 hackebrot

Feel free to take it, I always have more things on my TODO-list than time anyways :laughing:

If you need some more examples, pip applies markers based on what subdir a test is in, and in qutebrowser I add skipif markers based on platform markers like @pytest.mark.windows.

The-Compiler avatar Feb 24 '16 22:02 The-Compiler

Yeah tell me... :crying_cat_face:

Thank you for the examples! :+1:

hackebrot avatar Feb 24 '16 22:02 hackebrot

@The-Compiler cool examples. Your "platform markers" certainly could be made into a pytest-platform-markers plugin. :grin:

nicoddemus avatar Feb 25 '16 11:02 nicoddemus

@nicoddemus thanks for the suggestion - and so it happened :wink:

The-Compiler avatar Feb 26 '16 22:02 The-Compiler

cool

:grin:

nicoddemus avatar Feb 26 '16 22:02 nicoddemus

Hmm that readme text sounds familiar :grin:

hackebrot avatar Feb 26 '16 23:02 hackebrot

Guess this guy is still open :grin: Your turn @The-Compiler :hankey:

hackebrot avatar Mar 01 '16 21:03 hackebrot