{"id":38257271,"url":"https://github.com/timgluz/asdf-bats","last_synced_at":"2026-01-17T01:32:37.087Z","repository":{"id":43062443,"uuid":"323903777","full_name":"timgluz/asdf-bats","owner":"timgluz","description":"ASDF plugin for BATS bash unittest library","archived":false,"fork":false,"pushed_at":"2024-03-30T16:29:05.000Z","size":21,"stargazers_count":7,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T06:58:44.807Z","etag":null,"topics":["asdf","asdf-bats","asdf-plugin","asdf-vm","testing-tools","unittest-library"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timgluz.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}},"created_at":"2020-12-23T13:03:23.000Z","updated_at":"2023-12-15T05:49:27.000Z","dependencies_parsed_at":"2022-09-10T12:41:00.304Z","dependency_job_id":null,"html_url":"https://github.com/timgluz/asdf-bats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timgluz/asdf-bats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timgluz%2Fasdf-bats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timgluz%2Fasdf-bats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timgluz%2Fasdf-bats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timgluz%2Fasdf-bats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timgluz","download_url":"https://codeload.github.com/timgluz/asdf-bats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timgluz%2Fasdf-bats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["asdf","asdf-bats","asdf-plugin","asdf-vm","testing-tools","unittest-library"],"created_at":"2026-01-17T01:32:37.029Z","updated_at":"2026-01-17T01:32:37.080Z","avatar_url":"https://github.com/timgluz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asdf-bats\n\n[ASDF](https://asdf-vm.com/#/core-manage-asdf) plugin for the [BATS](https://github.com/bats-core/bats-core/), a unittest library for the Bash/Zsh;\n\n### Install\n\n```\nasdf plugin-add bats https://github.com/timgluz/asdf-bats.git\n\nasdf list all bats\nasdf install bats 1.6.0\nbats --version\n```\n\n### Contributing\n\n* Open Github issue, describe the issue and propose a solution;\nIt helps others to see your progress and will avoid duplicated effort;\n\n* Clone repo\n\n* Apply Changes\n\n* Test - make test\n\nTest are written using [Bats](https://github.com/bats-core/bats-core) - you can use this plugin, use Docker or use `npm install -g bats`\n\nrunning all the test: `bats tests/`\nrunning a single file: `./list-all.sh`\n\n\n```\n# if you want to run it on docker\nmake run\n\nexport PLUGIN_URL=\"https://github.com/timgluz/asdf-bats.git\"\n\n# testing specific Github ref - good for reporting a bug\nexport PLUGIN_GITREF=\"5dce6968ce77db4ed220d815a99ccd501f82c383\"\nasdf plugin test bats $PLUGIN_URL --asdf-plugin-gitref $PLUGIN_GITREF bats --version\n\n# testing a spec version, branch\n\nexport PLUGIN_VERSION=\"master\"\nasdf plugin test bats $PLUGIN_URL --asdf-tool-version $PLUGIN_VERSION bats --version\n```\n### Testing on Ubuntu\n\n`Dockerfile.ubuntu_zsh` builds a docker image where the`asdf`is already preinstalled\nand source-code of plugin copied to the asdf's plugin folder;\n\nExample usage:\n\n```\nmake build-ubuntu\nmake run-ubuntu\n\n# check current version of asdf\nasdf version\n\n# check currently installed plugins\nasdf list\n\n# check available versions\nasdf list all bats\n\n# install Bats\nasdf install bats v1.2.1\n\nbats --version\nexit\nmake clean-ubuntu\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimgluz%2Fasdf-bats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimgluz%2Fasdf-bats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimgluz%2Fasdf-bats/lists"}