From the project's root dir execute:
python setup.py install
To make the test execution easy, pytest makes it possible to mark them like this:
@pytest.mark.test_search_existing
def test_search_existing(self, main_page, username, password, github_username, github_password):
pass
To execute specified by marking test, use -m mark cmmand line key.
Here we use Allure reporter. We use key --alluredir=/path/to/report_dir for command line
To execute full regression we type in projects console:
pytest --alluredir /path/to/report_dir -n 5 -m regression --conf=/path/to/conf/my_conf.yml
Where:
-n 5 - amount of threads to run tests
--conf=/path/to/conf/my_conf.yml - path to env config. The example can be found in test/conf/example_env.yml