Skip to content

ShinKaiRyuu/Python-testing-template

Repository files navigation

Build Status codecov

Python testing template

Testing framework consist of:

  • python as runtime
  • selenium+webium as a framework for work with browsers
  • behave as a module for behave testing technique

Pre requirements:

  • install python 3.5.3x
  • install chrome/firefox (don't forget to customize in local_webium_settings)
  • install python packages from requirements.txt
  • put browser's driver in path

Run tests:

CLI:

  • from project directory run "behave features/"
  • see test report at ./test-results/report/index.html

FROM PYCHARM(PRO ONLY):

  • Open Edit configuration dialogue
  • add a new Behave configuration
  • select as working directory 'feature' directory of this project
  • to run test select configuration and run it
  • report will be in ide interface

PLANS:

  • v 1.0: All basic scenarios(open page,click link,hover and etc.)
  • v 2.0: Working with API(auth,add stuff,delete)
  • v 3.0: Vagrant+Docker(virtualization/containerization of framework)
  • v 4.0: TODO

About

Template for python testing framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published