{"id":18720467,"url":"https://github.com/dennisinteractive/behat-references-generator","last_synced_at":"2025-07-23T21:12:24.145Z","repository":{"id":56965700,"uuid":"137894854","full_name":"dennisinteractive/behat-references-generator","owner":"dennisinteractive","description":"Automatically generates non-existing referenced entities when creating content","archived":false,"fork":false,"pushed_at":"2018-11-20T18:11:29.000Z","size":177,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-01-26T09:35:13.631Z","etag":null,"topics":["behat"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/dennisinteractive.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2018-06-19T13:24:10.000Z","updated_at":"2018-07-10T14:01:10.000Z","dependencies_parsed_at":"2022-08-21T06:10:15.206Z","dependency_job_id":null,"html_url":"https://github.com/dennisinteractive/behat-references-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fbehat-references-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fbehat-references-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fbehat-references-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fbehat-references-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennisinteractive","download_url":"https://codeload.github.com/dennisinteractive/behat-references-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239583626,"owners_count":19663232,"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":["behat"],"created_at":"2024-11-07T13:31:10.963Z","updated_at":"2025-02-19T02:25:49.378Z","avatar_url":"https://github.com/dennisinteractive.png","language":"PHP","readme":"# Behat References Generator\nGenerates non-existing referenced entities when creating content\n\n### Installation\n1. `composer require dennisdigital/behat-references-generator:dev-master`\n\nYou might need to add it to repositories first\n```\n\"repositories\": {\n    \"behat-references-generator\": {\n      \"type\": \"vcs\",\n      \"url\": \"git@github.com:dennisinteractive/behat-references-generator.git\",\n      \"no-api\": true\n    }\n.\n.\n.\n```\n\n2. Edit behat.yml and add the contexts and configuration following the example in [behat.yml.dist]: https://github.com/dennisinteractive/behat-references-generator/blob/master/behat.yml.dist\n\n\n### Requirements\nYou need to enable these modules\n- Entity API\n\n**For the demo you will need to enable this module:**\n- Node Reference Content (Copy from the fixtures folder into the site's modules folder)\n\n### Running\n- Go into the tests folder\n- Run `./behat --format=pretty`\n\n### Failing tests\nYou can find the screenshots of failing tests on the `files/screenshots` folder\n\n### @todo\n- [x] make field mapping work\n- [ ] make default content for image fields work\n- [x] make default content for node fields work\n- [ ] make yml overrides for image fields work\n- [x] make yml overrides for content fields work\n- [ ] make step definition overrides for image fields work\n- [x] make step definition overrides for content fields work\n- [ ] make url aliases work on nodes, terms and images\n- [ ] fix php errors when running tests\n- [ ] allow to have more than one alias for the same field name\n- [ ] support default content for terms\n- [ ] support content generation for terms\n- [ ] upgrade drupal extension and drupal driver\n- [ ] update readme\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fbehat-references-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennisinteractive%2Fbehat-references-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fbehat-references-generator/lists"}