Skip to content
CodeKruPro

What goes in pytest.ini or pyproject.toml?

QuizEasy-MediumPython onlyAsked in: Accenture, Capgemini

Which of these belong in the pytest configuration file (pytest.ini, or the [tool.pytest.ini_options] table in pyproject.toml)? Choose all that apply.

  • Default command-line options with addopts
  • Where tests live with testpaths
  • Registered markers with markers
  • Fixture functions
  • Live logging settings such as log_cli and log_cli_level

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in