Skip to main content

Core engine for cookiecutter-qa and pytest-play packages

Project description

See Build Status on Travis CI https://readthedocs.org/projects/pytest-pypom-navigation/badge/?version=latest https://codecov.io/gh/davidemoro/pytest-pypom-navigation/branch/develop/graph/badge.svg Python 3

Core engine for cookiecutter QA package


This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.

Features

pytest-pypom-navigation is not intended to be used as a standalone package.

It provides the core engine (pytest fixtures) needed by the strong opinionated scaffolding solution called cookiecutter-qa that let you generate a fully working QA testing hello world project based on Selenium/Splinter with just one command.

It is also used by the pytest-play engine for collecting variables for tests parametrization.

Tests

You can run “pytest-pypom-navigation” tests via tox:

$ pip install tox
$ tox -epy36

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the Apache Software License 2.0 license, “pytest-pypom-navigation” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Changelog

2.0.3 (2019-01-17)

  • remove pytest 4.0 deprecation get_marker (still compatible with old versions)

  • removed internal component parametrizer, use external parametrizer.Parametrizer now

2.0.2 (2018-04-01)

  • make credentials and base url variables optional

2.0.1 (2018-01-03)

  • fix get_page_instance (missing page kwargs before page construction)

2.0.0 (2018-01-02)

  • navigation will no more be initialized automatically with an open browser by default since pypom_navigation is used by third party plugins even for non UI plugins. This way we avoid to open a browser if it is not needed and explicitly requested with a set page or visit page

  • you can override the default page timeout using a pytest-variables configuration named default_timeout

  • add new method get_page_instance on navigation

1.0.0 (2017-12-19)

  • navigation initialized with kwargs (including variables coming from pytest variables too)

  • add global timeout for all pages (default 10)

  • base_page fixture no longer opens page by default. It’s up to you visiting a page now

0.1.1 (2017-10-30)

  • support fallback page classes in action_performed

0.1.0 (2017-10-12)

  • Add update_page and action_performed methods on navigation.

  • Wait for pages to load when visiting them.

0.0.1 (2017-06-13)

  • First release

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

pytest-pypom-navigation-2.0.3.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

pytest_pypom_navigation-2.0.3-py2-none-any.whl (11.5 kB view details)

Uploaded Python 2

File details

Details for the file pytest-pypom-navigation-2.0.3.tar.gz.

File metadata

  • Download URL: pytest-pypom-navigation-2.0.3.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for pytest-pypom-navigation-2.0.3.tar.gz
Algorithm Hash digest
SHA256 d4e06b573c138d79e18985569b23ee6b0aec2c82f0c775dfb2f0efef4f3a084a
MD5 dbd512bc2765d71dd0d8b8d96125d13c
BLAKE2b-256 93c8cdc1d3871e43608cf6da9e657db75346e22f625bcc7c03ab50546739ce59

See more details on using hashes here.

File details

Details for the file pytest_pypom_navigation-2.0.3-py2-none-any.whl.

File metadata

  • Download URL: pytest_pypom_navigation-2.0.3-py2-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7

File hashes

Hashes for pytest_pypom_navigation-2.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 668e9551d0afe7489c05add891117968b5068900d5b553a94eb596dd83894af2
MD5 576bad77e410a391f06444191133bc5a
BLAKE2b-256 efdf02fe0a59d10eed72ebe8c902c91c49412924c8f435e6f250fce1fea2561d

See more details on using hashes here.

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