/ pytest Public
Allow users to explicitly specify the path of the root directory #1642
easy issue that is friendly to new contributor
new feature or API change, should be merged into features branch
The root directory discovery is convoluted, and there are cases where it fails to resolve to a suitable path. We should improve the discovery as much as possible, but it also makes sense to provide a way for users to explicitly specify the root directory.
We could add a
--rootdircommand line option, which would be relative to the invocation directory. We could also add a
rootdirconfiguration key, which would override the command line option, and would be relative to the configuration file.
The text was updated successfully, but these errors were encountered: