Commits

holger krekel committed 96990f0

improve --markers output

Comments (0)

Files changed (3)

 - skip pexpect using tests (test_pdb.py 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 http://pytest.org/latest/parametrize.html for more info and "
+        "examples."
     )
     config.addinivalue_line("markers",
         "usefixtures(fixturename1, fixturename2, ...): mark tests as needing "
-        "all of the specified fixtures."
+        "all of the specified fixtures. see http://pytest.org/latest/fixture.html#usefixtures "
     )
 
 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 "
+        "http://pytest.org/latest/skipping.html"
     )
     config.addinivalue_line("markers",
         "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 http://pytest.org/latest/skipping.html"
     )
 
 def pytest_namespace():