{"id":26799,"library":"behavex","title":"behavex","description":"An agile testing framework built on top of Behave (BDD) that extends functionality for parameterized scenarios and data-driven testing. Current version 4.6.0, supports Python >=3.5. Release cadence is irregular.","status":"active","version":"4.6.0","language":"python","source_language":"en","source_url":"https://github.com/behavex/behavex","tags":["bdd","testing","behave","gherkin","parameterized"],"install":[{"cmd":"pip install behavex","lang":"bash","label":"Latest from PyPI"}],"dependencies":[{"reason":"behavex is built on top of behave; it must be installed as a dependency.","package":"behave","optional":false}],"imports":[{"note":"","wrong":"","symbol":"behavex","correct":"import behavex"}],"quickstart":{"code":"import behavex\n\n# behavex is an extension of behave; it uses same Gherkin syntax\n# Example: feature file 'steps/example.feature'\n# Feature: Example\n#   Scenario: Test addition\n#     Given I have 5 and 3\n#     When I add them\n#     Then the result should be 8\n\n# Steps definition (in steps/example_steps.py)\nfrom behave import given, when, then\n\n@given('I have {a:d} and {b:d}')\ndef step_impl(context, a, b):\n    context.a = a\n    context.b = b\n\n@when('I add them')\ndef step_impl(context):\n    context.result = context.a + context.b\n\n@then('the result should be {expected:d}')\ndef step_impl(context, expected):\n    assert context.result == expected, f\"Got {context.result}\"\n\n# Run with: behave","lang":"python","description":"Shows basic behavex test structure using behave syntax. Behavex extends behave with parameterized scenarios; run tests with the `behave` command."},"warnings":[{"fix":"Review changelog at https://github.com/behavex/behavex/releases before upgrading.","message":"behavex 4.x may have breaking changes from 3.x. The API for parameterized scenarios changed; check the release notes.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Use @given, @when, @then from `behave` module instead of behavex-specific decorators.","message":"Some older behavex-specific step decorators (like @behavex.step) have been deprecated in favor of standard behave decorators.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Ensure `behave` is in your requirements.txt or installed alongside behavex.","message":"behavex extends behave but does not replace it. You must still install `behave` as a dependency.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip install behavex","cause":"behavex is not installed.","error":"ModuleNotFoundError: No module named 'behavex'"},{"fix":"Update to latest behavex or check documentation for correct usage.","cause":"Using a behavex-specific feature that is not available or changed in the current version.","error":"AttributeError: module 'behave' has no attribute 'use_step_behavex'"},{"fix":"Use `--params` or check behavex --help for correct options.","cause":"Command-line parameter has changed or not supported in that version.","error":"behavex: error: unrecognized arguments: --behavex-param"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}