Skip to content

ki4070ma/selenium-bdd-sample

Repository files navigation

Build Status

Maintainability

Readme

  • To learn selenium

What to be checked

Static contents

  • Covered all elements in locators.py

User scenario

  • Covered user stories

Developments

Setup

  • brew instal allure
  • pip install -r developments.txt
  • pre-commit install

Run tests

  • Via behave(Main)
    • Will be executed under features folder
$ python -m behave
$ python -m behave --no-capture (Output print statement in terminal)
$ python -m behave --tags=TAG (Run only tagged case)
  • Via behave with allure
$ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features
$ allure serve %allure_result_folder%
  • Via pytest(Just for test)
    • Will be executed test_selenium.py
$ python -m pytest

Run autopep8

$ python -m autopep8 -r --global-config .config-pep8 -i .

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published