Files
pytest2/testing
Pedro Algarvio b16c091253 Add pytest_markeval_namespace hook.
Add a new hook , `pytest_markeval_namespace` which should return a dictionary.
This dictionary will be used to augment the "global" variables available to evaluate skipif/xfail/xpass markers.

Pseudo example

``conftest.py``:

.. code-block:: python
   def pytest_markeval_namespace():
       return {"color": "red"}
``test_func.py``:

.. code-block:: python
   @pytest.mark.skipif("color == 'blue'", reason="Color is not red")
   def test_func():
       assert False
2020-12-12 17:41:37 +02:00
..
2020-10-31 12:40:25 +02:00
2020-10-05 18:33:17 -07:00
2020-08-03 10:10:43 +03:00
2020-10-03 12:46:54 -07:00
2020-10-05 18:33:17 -07:00
2020-10-03 12:46:54 -07:00
2020-10-03 12:46:54 -07:00
2020-10-05 18:33:17 -07:00
2020-10-05 18:33:17 -07:00
2020-10-25 01:27:44 +02:00
2020-10-05 18:33:17 -07:00