Merge branch '1642-add-rootdir-option' of github.com:feuillemorte/pytest into 1642-add-rootdir-option

This commit is contained in:
feuillemorte 2018-01-25 19:46:43 +03:00
commit ace772c743
1 changed files with 1 additions and 3 deletions

View File

@ -1,3 +1 @@
Added option "--rootdir" for command line and "rootdir" for .ini file. Define root directory for tests.
Can be relative path: "root_dir", "./root_dir", "root_dir/another_dir/"; absolute path: "/home/user/root_dir";
path with variables: "$HOME/root_dir". If parameter "rootdir" defined in .ini file this argument will not work.
Add ``--rootdir`` command-line option to override the rules for discovering the root directory. See `customize <https://docs.pytest.org/en/latest/customize.html>`_ in the documentation for details.