{"id":19200846,"url":"https://github.com/fredrkl/bats-core-demo","last_synced_at":"2026-05-16T09:32:57.954Z","repository":{"id":223186631,"uuid":"759526172","full_name":"fredrkl/bats-core-demo","owner":"fredrkl","description":"Bats core demo for Bash TDD","archived":false,"fork":false,"pushed_at":"2024-02-20T07:15:33.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-13T09:45:42.131Z","etag":null,"topics":["bash","tdd"],"latest_commit_sha":null,"homepage":"https://bats-core.readthedocs.io/","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/fredrkl.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":"2024-02-18T20:32:04.000Z","updated_at":"2024-02-18T20:49:11.000Z","dependencies_parsed_at":"2024-11-09T12:45:36.124Z","dependency_job_id":null,"html_url":"https://github.com/fredrkl/bats-core-demo","commit_stats":null,"previous_names":["fredrkl/bats-core-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fredrkl/bats-core-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredrkl%2Fbats-core-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredrkl%2Fbats-core-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredrkl%2Fbats-core-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredrkl%2Fbats-core-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fredrkl","download_url":"https://codeload.github.com/fredrkl/bats-core-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredrkl%2Fbats-core-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33096879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["bash","tdd"],"created_at":"2024-11-09T12:34:58.217Z","updated_at":"2026-05-16T09:32:57.938Z","avatar_url":"https://github.com/fredrkl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bats Core TDD demo\n\nThis is a demo of how to use Bats to do TDD. Bash is a powerful language, but it's also easy to make mistakes. Bats is a testing framework that makes it easy to write tests for your bash scripts.\n\n## Getting started\n\nFirst, you need to install Bats: https://bats-core.readthedocs.io/en/stable/installation.html\n\n## Notes\n\nWhen working with arrays in bash you need to be careful. Bash does not nativly support returning arrays from functions. The `Array length test` in `./test/test.bats` shows a test example that could easily break should any of the elements in `generate_array` contain a ' ' character.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredrkl%2Fbats-core-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredrkl%2Fbats-core-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredrkl%2Fbats-core-demo/lists"}