{"id":18885054,"url":"https://github.com/jankaritech/expected-failures-updater","last_synced_at":"2025-10-09T22:09:57.699Z","repository":{"id":49721662,"uuid":"351315559","full_name":"JankariTech/expected-failures-updater","owner":"JankariTech","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-31T07:46:03.000Z","size":46,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-04T13:37:00.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/JankariTech.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}},"created_at":"2021-03-25T05:07:54.000Z","updated_at":"2023-08-31T07:56:51.000Z","dependencies_parsed_at":"2025-05-24T01:08:14.562Z","dependency_job_id":"dfd17685-6bb8-48c3-9cc3-307227bdc341","html_url":"https://github.com/JankariTech/expected-failures-updater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JankariTech/expected-failures-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JankariTech%2Fexpected-failures-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JankariTech%2Fexpected-failures-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JankariTech%2Fexpected-failures-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JankariTech%2Fexpected-failures-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JankariTech","download_url":"https://codeload.github.com/JankariTech/expected-failures-updater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JankariTech%2Fexpected-failures-updater/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264566266,"owners_count":23629141,"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":[],"created_at":"2024-11-08T07:16:28.320Z","updated_at":"2025-10-09T22:09:52.659Z","avatar_url":"https://github.com/JankariTech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## owncloud expected failure files updater\nThis is a tool that helps to update the expected failures file when you make changes on the feature files\n\n### Usage\nTo use this tool run\n```\ngo run main.go \u003ccommand\u003e\n```\n\n### Available commands\n- #### inspect\n    Check for any duplicate scenarios in your feature files\n\n    Required Env variables\n\n    - `FEATURES_PATH` Path where the Features files are\n\n\n- #### cache\n    Read the Feature files and store their information\n\n    Required Env variables\n\n    - `FEATURES_PATH` Path where the Features files are\n\n- #### shift\n    Update the expected Failure files\n\n    Required Env variables\n\n    - `FEATURES_PATH` Path where the Features files are\n    - `EXPECTED_FAILURES_DIR` Path were expected failures files are\n    - `EXPECTED_FAILURES_PREFIX` Prefix of the expected failure files in expectged failures dir (defaults to `expected-failures`)\n\n- #### check-and\n    Replace subsequent Given, Given steps with Given, And\n\n    Required Env variables\n\n    - `FEATURES_PATH` Path where the Features files are\n\n\n- #### scan\n    Check for newly added scenarios or deleted scenarios since last cache\n\n    Required Env variables\n\n    - `FEATURES_PATH` Path where the Features files are\n\n### Instructions\n- First check the .drone.env of the respective project to see the last version of testrunner used.\n- Checkout to that version in the testrunner repo and cache the feature data with\n    ```\n    FEATURES_PATH=\u003cpath_to_feature_files\u003e go run main.go cache\n    ```\n- Now checkout to the latest version in the testrunner repo and rerun the command with\n    ```\n    FEATURES_PATH=\u003cpath_to_feature_files\u003e EXPECTED_FAILURES_DIR=\u003cpath_to_expected_failures\u003e go run main.go shift\n    ```\n\n### Run test\n- Install Bats (Bash Automated Testing System) on your system using the following command:\n    ```bash\n    sudo apt install bats\n    ```      \n- After installing Bats, you can run your tests locally from the base directory of this project using the following command:\n    ```bash \n    bats tests/*.bats  \n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankaritech%2Fexpected-failures-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjankaritech%2Fexpected-failures-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankaritech%2Fexpected-failures-updater/lists"}