Introduction
The setup.cfg file helps you set options for pytest in one place. It makes running tests easier and consistent.
You want to set test options without typing them every time in the command line.
You want to ignore certain files or folders during testing.
You want to add markers to organize tests.
You want to change the default test discovery rules.
You want to configure plugins or test output formats.