Library for bdd testing
Project description
PB TESTING
Library for testing using Page Object Pattern and Behaviour Driven Development.
Usage
This application is experimental and is used mainly for Engineer's Thesis.
It will be maintained for errors and probably in near future might get some new features.
Before using
You will need Geckodriver for running tests using behave (which is based on selenium) https://github.com/mozilla/geckodriver/releases - link for geckodriver browsing.
Probably you will need also to put it into /usr/local/bin/ (as for linux)
Commands
All commands are typed into terminal, using venv
To activate venv type command
source venv/bin/activate
It will look like this. venv will show up next to your name and command prompt
prepare
It will create:
- directories: resources_for_testing, features, steps, pages
- configuration_file config.ini
- common_steps.py file in steps,`` consisting basic commands used in testing (selenium finding, clicking elements on site)
- database for keeping urls from your project
This step is crucial, because it will setup all directoreies for using this library
Available frameworks for url scan: rails, django
pb_configuration
This method will pop gui with urls from your project and urls used in tests. It will look like this:
On left we have urls scanned from project. On the right side there are urls that will be used in testing.
Between listboxes is arrow, which let user pass value from one listbox to another and at the bottom there are buttons, which also allow user to include new urls into testing.
Overall working:
step_creator
This gui is responsible for creating tests, using scanning urls and
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pb_testing-0.1.6.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21f7234ac99f1a98a03366336315d30df95257345412be9161c44963d436badf |
|
MD5 | 76bdfe70d3b02ffb1b77fe26c80a0147 |
|
BLAKE2b-256 | 58e55f70475e654fa854badfae58164f837136028cc960d4c31cbf5ab1a6c2e5 |