Complete the code to specify the testpaths in pytest configuration.
[pytest]
testpaths = [1]The testpaths option tells pytest where to look for tests. Usually, tests are in the tests folder.
Complete the pytest configuration to include multiple testpaths.
[pytest]
testpaths = [1]You can specify multiple folders separated by spaces in testpaths to tell pytest to look in both places.
Fix the error in the pytest configuration to correctly specify testpaths.
[pytest]
testpaths = [1]Pytest expects testpaths as space-separated folder names, not comma or semicolon separated.
Fill both blanks to configure pytest to look for tests in the 'tests' folder and specify the pattern for test files.
[pytest] testpaths = [1] python_files = [2]
The testpaths option sets the folders to search. The python_files option sets the pattern pytest looks for in test files, usually test_*.py.
Fill all three blanks to configure pytest to look in 'tests' and 'integration_tests' folders, use 'test_*.py' pattern for files, and 'Test*' prefix for test classes.
[pytest] testpaths = [1] python_files = [2] python_classes = [3]
This configuration tells pytest to look in both folders, find test files matching test_*.py, and test classes starting with Test.