{"id":28988862,"url":"https://github.com/knplabs/behat-training","last_synced_at":"2026-02-16T11:35:33.118Z","repository":{"id":66021024,"uuid":"501657709","full_name":"KnpLabs/behat-training","owner":"KnpLabs","description":"Behat training","archived":false,"fork":false,"pushed_at":"2022-10-13T07:18:10.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-06T16:44:25.778Z","etag":null,"topics":["hacktoberfest","training-material"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":false,"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/KnpLabs.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,"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":"2022-06-09T13:09:45.000Z","updated_at":"2022-10-11T14:47:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"eefe42c6-63fe-4fd5-9c8c-49172f2dc4c0","html_url":"https://github.com/KnpLabs/behat-training","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KnpLabs/behat-training","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnpLabs%2Fbehat-training","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnpLabs%2Fbehat-training/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnpLabs%2Fbehat-training/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnpLabs%2Fbehat-training/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KnpLabs","download_url":"https://codeload.github.com/KnpLabs/behat-training/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnpLabs%2Fbehat-training/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29506768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["hacktoberfest","training-material"],"created_at":"2025-06-24T22:44:52.711Z","updated_at":"2026-02-16T11:35:33.113Z","avatar_url":"https://github.com/KnpLabs.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Behat training\n\n## Context\n\nThis is the practical part of our Behat training. \n\n## Training goal\nThe participants will practice Behavior Driven Development (BDD) with Behat and they will learn how to write good user stories, meaningful tests and Behat features.\n\n## Slides\n\nhttps://knplabs.slides.com/d/xqNk8HI/live\n\n## How to use it\n\n### **Start**\n\nIn order to start the project just run:\n\n```bash\nmake start\n```\n\nIt will build, run and install the necessary dependencies.\n\n### **Stop**\n\nIn order to stop the project run:\n\n```bash\nmake stop\n```\n\n### **Behat**\n\nOnce you installed behat you can run it using:\n\n```bash\nmake behat\n```\n\nIt will run all tests.\n\nIf you want to pass some arguments to behat command you can do it by setting the `ARGS` var:\n\n```bash\nmake behat ARGS=--help\n```\n\n### **Crawler**\n\nOnce you'll have written your Mink crawler you'll be able to run it using:\n\n```bash\nmake crawler\n```\n\n### **Run any other command**\n\nIn order to run any other command in the PHP container you can use the following:\n\n```bash\nmake run CMD=\"composer require ...\"\n```\n\n## Debug headless Chrome\n\nchrome://inspect/#devices\n\n## Read (or view) more about it\n\nB(ehavior) D(riven) D(evelopment): https://dannorth.net/introducing-bdd/\n\nD(omain) D(riven) D(esign): https://martinfowler.com/bliki/DomainDrivenDesign.html\n\nUbiquitous language: https://martinfowler.com/bliki/UbiquitousLanguage.html\n\nGherkin: https://cucumber.io/docs/gherkin/reference/\n\nBehat: https://www.youtube.com/watch?v=QnPmbQbsTV0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknplabs%2Fbehat-training","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknplabs%2Fbehat-training","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknplabs%2Fbehat-training/lists"}