Справка по API¶
Раздел находится в разработке.
См. API Reference
Опции конфигурации¶
Раздел находится в разработке.
См. API Reference
- Add the specified
OPTS
to the set of command line arguments as if theyhad been specified by the user. Example: if you have this ini file content:
# content of pytest.ini [pytest] addopts = --maxfail=2 -rf # exit after 2 failures, report fail infoissuing
pytest test_hello.py
actually means:pytest --maxfail=2 -rf test_hello.pyDefault is to add no options.