Skip to main content

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 img_5.png


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. img.png 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

img_3.png

and clicking button with arrow pointing to the right

img_4.png

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pb_testing-0.1.6.tar.gz (30.6 kB view hashes)

Uploaded Source

Built Distribution

pb_testing-0.1.6-py3-none-any.whl (46.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page