behave-manners

A layer of abstraction on top of behave for web-UI testing, designed to handle complexity of large sites


Keywords
behave, behavior-driven-development, html, selenium, selenium-python, testing, ui-testing
License
BSD-2-Clause
Install
pip install behave-manners==0.14.0

Documentation

Behave manners

  Given: that real-world scenarios are more complicated than examples
    And: sites are now bloated with many layers of components
   When: I write feature tests
   Then: I want them to be simple, abstract
    And: I want them to be thorough and precise

A set of utility methods, on top of behave test framework. This goes further than the Gherkin language, implementing a more rich set of operators and testing flows.

  1. Standard web (browser) calls Binds to selenium in a consistent way
  2. Inventory of web components Allows web elements to be referenced, discovered and grouped in a declarative way
  3. Method steps Makes Gherkin scenarios re-usable through abstracting in a step
  4. Test flows Implement branching and looping within Gherkin scenarios.

Documentation

See: https://behave-manners.readthedocs.io/