# HG changeset patch -- Bitbucket.org # Project py-trunk # URL http://bitbucket.org/hpk42/py-trunk/overview # User holger krekel <hol...@merlinux.eu> # Date 1275992955 -7200 # Node ID 23b6bb2419bdb865d9534b8c069edb61a08e552c # Parent 23865d3042213f7a6d4a8fd5ce6b5b71ac23a108 capture a concrete idea for easing platform-specific testing.
--- a/ISSUES.txt +++ b/ISSUES.txt @@ -21,6 +21,23 @@ maybe also introduce a py.test.mark.test mark a function to become a tested one. Lookup JUnit ways of tagging tests. +introduce py.test.mark.platform +------------------------------------------------------- +tags: feature 1.4 + +Introduce nice-to-spell platform-skipping, examples: + + @py.test.mark.platform("python3") + @py.test.mark.platform("not python3") + @py.test.mark.platform("win32 and not python3") + @py.test.mark.platform("darwin") + @py.test.mark.platform("not (jython and win32)") + @py.test.mark.platform("not (jython and win32)", xfail=True) + +etc. Idea is to allow Python expressions which can operate +on common spellings for operating systems and python +interpreter versions. + introduce py.test.mark registration ----------------------------------------- tags: feature 1.3 _______________________________________________ py-svn mailing list py-svn@codespeak.net http://codespeak.net/mailman/listinfo/py-svn