{"id":21411423,"url":"https://github.com/gdonald/bdd-behave","last_synced_at":"2025-12-27T00:22:38.041Z","repository":{"id":78695802,"uuid":"198000560","full_name":"gdonald/BDD-Behave","owner":"gdonald","description":"A behavior driven development framework for Raku","archived":false,"fork":false,"pushed_at":"2025-11-19T13:36:56.000Z","size":318,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-19T15:32:01.465Z","etag":null,"topics":["bdd","framework","raku","spec","test","testing","testing-tools"],"latest_commit_sha":null,"homepage":"https://gregdonald.com","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gdonald.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-21T01:54:30.000Z","updated_at":"2025-11-19T13:37:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"12821199-9bb5-4800-9f20-06573a50d2e1","html_url":"https://github.com/gdonald/BDD-Behave","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gdonald/BDD-Behave","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdonald%2FBDD-Behave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdonald%2FBDD-Behave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdonald%2FBDD-Behave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdonald%2FBDD-Behave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdonald","download_url":"https://codeload.github.com/gdonald/BDD-Behave/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdonald%2FBDD-Behave/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28066050,"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","status":"online","status_checked_at":"2025-12-26T02:00:06.189Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bdd","framework","raku","spec","test","testing","testing-tools"],"created_at":"2024-11-22T17:43:57.792Z","updated_at":"2025-12-27T00:22:38.032Z","avatar_url":"https://github.com/gdonald.png","language":"Raku","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Behave\n\nA behavior driven development framework written in [Raku](https://raku.org/).\n\nCurrently developed against Raku `v6.d`.\n\n#### Install using zef\n\n```\nzef install BDD::Behave\n```\n\n#### Running Behave:\n\nIf a file is not specified Behave will automatically look for a `specs` directory and will run anything matching `/spec.raku/`.\n\n#### An example:\n\n**specs/001-spec.raku**\n\n```raku\nuse BDD::Behave;\n\ndescribe 'this spec', {\n  let(:answer, { 42 });\n\n  it 'passes', {\n    expect(:answer).to.be(42);\n  }\n}\n\ndescribe 'this final spec', {\n  let(:answer, { 42 });\n\n  it 'fails at line 12', {\n    expect(:answer).to.be(41);\n  }\n}\n```\n\nYou can run the spec like this:\n\n```\n$ behave specs/001-spec.raku\n```\n\nOutput:\n\n```raku\nspecs/001-spec.raku\n\n    ⮑  'this spec'\n        ⮑  'passes'\n            ⮑  SUCCESS\n\n    ⮑  'this final spec'\n        ⮑  'fails on the next line'\n            ⮑  FAILURE\n\nFailures:\n\n  [ ✗ ] specs/001-spec.raku:12\n```\n\n#### Local Behave development:\n\nFor local development of Behave itself:\n\n```\nraku -Ilib bin/behave\n```\n\n#### Prove Tests\n\nTo run the tests in t/*:\n\n```\nprove6 -Ilib t\n```\n\n#### Status\n\n[![.github/workflows/raku.yml](https://github.com/gdonald/BDD-Behave/workflows/.github/workflows/raku.yml/badge.svg)](https://github.com/gdonald/BDD-Behave/actions)\n\n#### Documentation\n\nSee the examples in [specs/*](https://github.com/gdonald/BDD-Behave/tree/master/specs).\n\n#### License\n\nBehave is released under the [Artistic License 2.0](https://opensource.org/licenses/Artistic-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdonald%2Fbdd-behave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdonald%2Fbdd-behave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdonald%2Fbdd-behave/lists"}