{"id":13701164,"url":"https://github.com/behave/behave.example","last_synced_at":"2025-11-02T03:30:30.442Z","repository":{"id":2573708,"uuid":"3553979","full_name":"behave/behave.example","owner":"behave","description":"Examples and Tutorials for \"behave\" to simplify use for new developers.","archived":false,"fork":false,"pushed_at":"2024-12-22T09:49:20.000Z","size":3554,"stargazers_count":153,"open_issues_count":10,"forks_count":77,"subscribers_count":21,"default_branch":"main","last_synced_at":"2024-12-30T11:36:00.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/behave.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-02-26T18:52:29.000Z","updated_at":"2024-11-02T05:20:11.000Z","dependencies_parsed_at":"2024-12-06T22:25:20.053Z","dependency_job_id":"c6c15a35-6204-465b-8ac7-96dfcc0fe72c","html_url":"https://github.com/behave/behave.example","commit_stats":{"total_commits":142,"total_committers":6,"mean_commits":"23.666666666666668","dds":0.3943661971830986,"last_synced_commit":"e19faa9c39d3315d574ac1f2c9b0c69274be13bb"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behave%2Fbehave.example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behave%2Fbehave.example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behave%2Fbehave.example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behave%2Fbehave.example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/behave","download_url":"https://codeload.github.com/behave/behave.example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239370548,"owners_count":19627450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T20:01:20.640Z","updated_at":"2025-11-02T03:30:30.387Z","avatar_url":"https://github.com/behave.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"behave.example: Examples and Tutorials\n==============================================================================\n\n:Date: 2020-11-04\n:Category: BDD, testing\n:License:  BSD\n\n`behave`_ is a BDD test framework and cucumber-clone for Python.\nThis project provides tutorials and examples how to use `behave`_.\nIt should extends the excellent documentation of `behave`_.\n\nSEE ALSO:\n\n* https://github.com/behave/behave.example\n* behave:  https://pypi.org/project/behave/\n* cucumber: https://docs.cucumber.io/\n\nDOCUMENTATION:\n\n* https://behave.github.io/behave.example (latest version)\n\nREPOSITORIES:\n\n* https://github.com/behave/behave\n* https://github.com/jenisys/parse_type\n\n\n.. _behave: https://github.com/behave/behave\n.. _parse_type:  https://github.com/jenisys/parse_type\n.. _invoke: https://www.pyinvoke.org\n.. _sphinx-contrib: https://github.com/sphinx-contrib\n.. _sphinxcontrib-ansi: https://github.com/jenisys/sphinxcontrib-ansi\n.. _sphinxcontrib-programoutput: https://github.com/NextThought/sphinxcontrib-programoutput\n\n\nINSTALL and BOOTSTRAP\n------------------------------------------------------------------------------\n\nThe project provides tutorials and examples.\nTherefore, it should not be installed.\nTo prepare the local installation, use the following command to install\nall prerequisites::\n\n    # -- STEP 1: Setup and activate a virtual python environment.\n    $ virtualenv --python python3 .venv\n    $ source .venv/bin/activate\n\n    # -- HINT ON WINDOWS:\n    # call .venv/Scripts/activate\n\n    # -- STEP 2: Install all required python packages with \"pip\".\n    $ pip install -r py.requirements/all.txt\n\n\nSome extension to `behave`_ are provided in the ``lib/python/`` subdirectory.\nThey are used when you use ``bin/behave`` to run `behave`_.\n\n\nHOWTO\n------------------------------------------------------------------------------\n\nCleanup local workspace::\n\n    invoke cleanup\n    invoke cleanup.all\n\nRun `behave`_ tests::\n\n    invoke test\n\nor::\n\n    bin/behave features/\n    bin/behave datatype.features/\n    bin/behave step_matcher.features/\n\n\nBuild Sphinx-based documentation with tutorials::\n\n    invoke docs\n\nIf `invoke`_ is not installed, use the following canned script instead::\n\n    bin/invoke command ...\n\n\nSPECIAL CONFIGURATION\n------------------------------------------------------------------------------\n\n* The `behave`_ PrettyFormatter is replaced with ``pretty2.SimplePrettyFormatter``.\n\n  This formatter implementation avoids cursor-ups while processing steps.\n  ANSI escape cursor-up sequences do not work with `sphinxcontrib-ansi`_\n  when the sphinx-based documentation is generated\n  (experimental feature for colorized behave output support).\n\n* `sphinxcontrib-ansi`_ does not process the following ANSI escape sequences\n  correctly (set-color, set-bold)::\n\n    CSI{color_code}mCSI1m\n\n  The color is reset in HTML output when set-bold is detected.\n  The following ANSI escape sequence should be used instead::\n\n    CSI{color_code};1m\n\n  The behave runner, that is used here, patches the original functionality\n  to use the second solution (\"use_ansi_escape_colorbold_composites()\").\n\n* The coloring schema in `behave`_ is adapted by setting the environment\n  variable (\"grey\" is replaced with \"white\")::\n\n    GHERKIN_COLORS=\"executing=white:comments=white\"\n\n* To disable \"ANSI coloring\" support for Sphinx,\n  set \"ansiterm_supported = False\" in \"docs/conf.py\".\n  Note that this is not necessary on Windows.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehave%2Fbehave.example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbehave%2Fbehave.example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehave%2Fbehave.example/lists"}