Skip to content

kozakHolota/StackOverflowMain

Repository files navigation

Installation

From the project's root dir execute:

python setup.py install

Test Markins

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.

Reporting

Here we use Allure reporter. We use key --alluredir=/path/to/report_dir for command line

Executing tests

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

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages