{"id":13581090,"url":"https://github.com/xyteam/AutoBDD-example","last_synced_at":"2025-04-06T06:32:32.065Z","repository":{"id":217510028,"uuid":"201526610","full_name":"xyteam/AutoBDD-example","owner":"xyteam","description":"Cucumber E2E Automation Example","archived":false,"fork":false,"pushed_at":"2021-12-02T07:13:44.000Z","size":2179,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T20:46:54.624Z","etag":null,"topics":["autobdd","bdd","cucumber-js","docker-compose","e2e-testing","robotjs","selenium","sikulix","webdriverio"],"latest_commit_sha":null,"homepage":"","language":"Gherkin","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/xyteam.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}},"created_at":"2019-08-09T19:10:51.000Z","updated_at":"2022-06-14T02:23:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"354c5c0c-1c78-4f5b-9470-c81a11ff76c4","html_url":"https://github.com/xyteam/AutoBDD-example","commit_stats":null,"previous_names":["xyteam/autobdd-example"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyteam%2FAutoBDD-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyteam%2FAutoBDD-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyteam%2FAutoBDD-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyteam%2FAutoBDD-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyteam","download_url":"https://codeload.github.com/xyteam/AutoBDD-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445652,"owners_count":20939952,"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":["autobdd","bdd","cucumber-js","docker-compose","e2e-testing","robotjs","selenium","sikulix","webdriverio"],"created_at":"2024-08-01T15:01:57.982Z","updated_at":"2025-04-06T06:32:31.686Z","avatar_url":"https://github.com/xyteam.png","language":"Gherkin","funding_links":[],"categories":["Gherkin"],"sub_categories":[],"readme":"### TLDR:\n\n```\nmkdir -p ~/Projects; cd ~/Projects; \\\ngit clone https://github.com/xyteam/AutoBDD-example.git; \\\ncd ~/Projects/AutoBDD-example/.docker\ndocker-compose run --rm test-run \"--movie 1 --argstring '--tags @Demo'\"\n```\nOpen the HTML BDD test report in ~/Projects/AutoBDD-example/e2e-report/\n\n## AutoBDD-example\n\n**AutoBDD-example** is a BDD style (Cucumber/Gherkin) WEB/E2E test project. It takes full advantage of the open-source **AutoBDD** framework:\n\n**[xyteam/AutoBDD](https://github.com/xyteam/AutoBDD)**\n\nUsing pre-canned Cucumber/Gherkin statements and you can automate\n\n* web browser actions\n\n* screen and keyboard/mouse actions\n\nYou can turn this example project into your own test project and start automating immediately.\n\n### Prerequisite\n\nThe only prerequisite to run this project is a docker supporting host. Tested on Linux, MacOS, Windows.\n\nThe test project will download the two AutoBDD docker images automatically, and all framework related tasks are taken cared by these two docker images. All you need to do is to work on your test cases.\n\n* **xyteam/autobdd-run**: For running BDD test in CI mode.\n\n* **xyteam/autobdd-dev**: For developing and debugging your test project with shell and GUI.\n\n### To run example test in 3 simple steps:\n\nTo run test you only need a docker supporting headless host somewhere on the network.\n\n#### Step 1: Checkout the AutoBDD-example project:\n```\nmkdir -p ~/Projects; cd ~/Projects; \\\ngit clone https://github.com/xyteam/AutoBDD-example.git;\n```\n#### Step 2: Run test:\n```\ncd AutoBDD-example/.docker; \\\n# to run test cases with @Demo tag\ndocker-compose run --rm test-run \"--movie 1 --argstring '--tags @Demo'\"\n```\nOptions can be appended with quotes to the run command above.\n```\n\"--help\"\n\"--modulelist test-download test-postman --movie 1 --reportbase /some/folder --reportpath someName --argstring '--tags @Demo,@SmokeTest --tags ~@wip'\"\n```\n\n#### Step 3: Review test report\n\nA folder named **e2e-report** will be created under the test project.\nEach run creates a timestamped folder with a HTML report and all the run log as well as screenshots and movie.\n\n### Special Mentions\n  * Demo-App application and Precanned Cucumber-JS Steps are taken from **[webdriverio/cucumber-boilerplate](https://github.com/webdriverio/cucumber-boilerplate)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyteam%2FAutoBDD-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyteam%2FAutoBDD-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyteam%2FAutoBDD-example/lists"}