holger krekel committed 96990f0

improve --markers output

Comments (0)

Files changed (3)

 - skip pexpect using tests ( mostly) on freebsd* systems
   due to pexpect not supporting it properly (hanging)
+- link to web pages from --markers output which provides help for
+  pytest.mark.* usage.
 Changes between 2.2.4 and 2.3.0
         "times passing in multiple different argument value sets. Example: "
         "@parametrize('arg1', [1,2]) would lead to two calls of the decorated "
         "test function, one with arg1=1 and another with arg1=2."
+        " see for more info and "
+        "examples."
         "usefixtures(fixturename1, fixturename2, ...): mark tests as needing "
-        "all of the specified fixtures."
+        "all of the specified fixtures. see "
 def pytest_sessionstart(session):
         "skipif(*conditions): skip the given test function if evaluation "
         "of all conditions has a True value.  Evaluation happens within the "
         "module global context. Example: skipif('sys.platform == \"win32\"') "
-        "skips the test if we are on the win32 platform. "
+        "skips the test if we are on the win32 platform. see "
+        ""
         "xfail(*conditions, reason=None, run=True): mark the the test function "
         "if you don't even want to execute the test function. Any positional "
         "condition strings will be evaluated (like with skipif) and if one is "
         "False the marker will not be applied."
+        "see"
 def pytest_namespace():