1
"""py.test plugin configuration."""
3
def pytest_addoption(parser):
4
"""Add options for filtering which file tests run.
6
This has to be done in the project root; py.test doesn't (and can't)
7
recursively look for conftest.py files until after it's parsed the command
10
parser.addoption('--include-ruby',
11
help='run tests imported from Ruby and sassc, most of which fail',
16
parser.addoption('--test-file-filter',
17
help='comma-separated regexes to select test files',
20
dest='test_file_filter',