Library for bdd testing
Project description
PB TESTING
Library for testing using Page Object Pattern and Behaviour Driven Development.
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.
After clicking one of choices here
and clicking button with arrow pointing to the right
it will add url to the right column, to collection of urls used in testing with the help of my application.
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-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48544a645f325b782a4e11e035b1360aedcbfbac4dce4a80cae71c88bba9cb2e |
|
MD5 | be54bff778a540c80962f2e5a10f5bac |
|
BLAKE2b-256 | c1d95e41036f12bfa7029b5d0e6a2330476a768510a61bbbe7da031b384e0d0a |