{"id":20039148,"url":"https://github.com/defra/quke-example","last_synced_at":"2026-05-11T08:30:12.058Z","repository":{"id":21716348,"uuid":"93851964","full_name":"DEFRA/quke-example","owner":"DEFRA","description":"An example Quke project. See https://github.com/Defra/quke","archived":false,"fork":false,"pushed_at":"2024-04-05T21:49:46.000Z","size":186,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-12T19:11:49.216Z","etag":null,"topics":["acceptance-testing","capybara","cucumber","quke"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DEFRA.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}},"created_at":"2017-06-09T11:24:26.000Z","updated_at":"2021-11-23T15:10:38.000Z","dependencies_parsed_at":"2024-11-13T10:48:03.369Z","dependency_job_id":null,"html_url":"https://github.com/DEFRA/quke-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fquke-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fquke-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fquke-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fquke-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/quke-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241470333,"owners_count":19968040,"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":["acceptance-testing","capybara","cucumber","quke"],"created_at":"2024-11-13T10:36:03.395Z","updated_at":"2026-05-11T08:30:12.013Z","avatar_url":"https://github.com/DEFRA.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quke example\n\n![Build Status](https://github.com/DEFRA/quke-example/workflows/CI/badge.svg?branch=main)\n[![security](https://hakiri.io/github/DEFRA/quke-example/main.svg)](https://hakiri.io/github/DEFRA/quke-example/main)\n[![Licence](https://img.shields.io/badge/Licence-OGLv3-blue.svg)](http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3)\n\nThis repo serves as an example [Quke](https://github.com/Defra/quke) project. Refer to it for examples on how to setup your own projects, and how to use either [Capybara](https://github.com/teamcapybara/capybara) or [SitePrism](https://github.com/site-prism/site_prism) in your steps to interact with a web page.\n\n## Pre-requisites\n\nThis project is setup to run against version 2.4.2 of Ruby, though as long as you have this or something greater it shouldn't matter. You'll also need the [Bundler](http://bundler.io/) gem.\n\nThe rest of the pre-requisites are the same as those for [Quke](https://github.com/DEFRA/quke#pre-requisites).\n\n## Installation\n\nFirst clone the repository and then drop into your new local repo\n\n```bash\ngit clone https://github.com/DEFRA/quke-example.git \u0026\u0026 cd quke-example\n```\n\nNext download and install the dependencies\n\n```bash\nbundle install\n```\n\n## Configuration\n\nYou can figure out how the project runs using [Quke config files](https://github.com/DEFRA/quke#configuration). This project comes with an existing `.config.yml` file setup to allow the tests to pass.\n\n### Experimenting \u0026 testing\n\nYou can amend the values in `.config.yml` to see how they effect the way Quke runs or alternatively create your own, for example `.config.test.yml`. If you stick to the convention of `.config.[my name].yml` [Git](https://git-scm.com/) will ignore your file which means you can put whatever you like in them and not risk the content being committed to source control!\n\n## Setup\n\nYou'll then need to start the demo app which the examples run against\n\n```bash\nbundle exec rake run\n```\n\nYou'll want to do this in a separate terminal window as its a long lived task, which means the only way to get back to the command line is with `ctrl+c`!\n\n## Running the tests\n\nSimply call\n\n```bash\nbundle exec quke\n```\n\nAll being well all the tests should pass. You can now experiment with the examples provided, add your own, and get familiar with how to write your own **Cucumber** scenarios.\n\n## Contributing to this project\n\nIf you have an idea you'd like to contribute please log an issue.\n\nAll contributions should be submitted via a pull request.\n\n## License\n\nTHIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:\n\n\u003chttp://www.nationalarchives.gov.uk/doc/open-government-licence/version/3\u003e\n\nThe following attribution statement MUST be cited in your products and applications when using this information.\n\n\u003e Contains public sector information licensed under the Open Government license v3\n\n### About the license\n\nThe Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.\n\nIt is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fquke-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fquke-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fquke-example/lists"}