{"id":18434343,"url":"https://github.com/limabd/batspp","last_synced_at":"2025-04-07T19:31:39.378Z","repository":{"id":37886331,"uuid":"494984039","full_name":"LimaBD/batspp","owner":"LimaBD","description":"Shell style tests using bats-core","archived":false,"fork":false,"pushed_at":"2024-04-04T21:02:34.000Z","size":410,"stargazers_count":2,"open_issues_count":16,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T23:51:15.632Z","etag":null,"topics":["bash","linux","testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LimaBD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-05-22T06:59:15.000Z","updated_at":"2023-02-13T12:58:07.000Z","dependencies_parsed_at":"2023-10-21T00:40:52.164Z","dependency_job_id":"9feb266d-3d3a-459c-bcb5-5de1cfb6c5b5","html_url":"https://github.com/LimaBD/batspp","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LimaBD%2Fbatspp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LimaBD%2Fbatspp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LimaBD%2Fbatspp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LimaBD%2Fbatspp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LimaBD","download_url":"https://codeload.github.com/LimaBD/batspp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247716300,"owners_count":20984214,"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":["bash","linux","testing"],"created_at":"2024-11-06T06:03:18.950Z","updated_at":"2025-04-07T19:31:39.111Z","avatar_url":"https://github.com/LimaBD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![https://github.com/LimaBD/batspp/releases/latest](https://img.shields.io/github/v/release/limabd/batspp)\n[![License: LGPLv3](https://img.shields.io/badge/License-LGPLv3-orange)](https://github.com/LimaBD/batspp/blob/main/LICENSE.txt)\n[![Python: \u003e=3.8](https://img.shields.io/badge/Python-%3E%3D3.8-yellow)](https://www.python.org/)\n![tests](https://github.com/LimaBD/batspp/actions/workflows/tests.yml/badge.svg)\n\n\n# BATSPP\n\nShell style tests using [bats-core framework](https://github.com/bats-core/bats-core)\n\nBats is a great [TAP](https://testanything.org/)-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected.\n\nThe goal of Batspp to allow writing shell style tests with an simple and a less idiosyncratic syntax.\n\n``` bash\n#!/usr/bin/env batspp\n\n# Test example with multiple assertions\n$ filepath=$(echo $TMP/testfile-\"$$\")\n$ echo -e \"in this test\\nwe are using\\nmultiple assertions\" | sudo tee $filepath\n$ cat $filepath | wc -l\n3\n$ cat $filepath | wc -c\n46\n```\n\nBatspp grew out of work for [Thomas O'Hara](https://github.com/tomasohara) on [shell-scripts](https://github.com/tomasohara/shell-scripts) and [mezcla](https://github.com/tomasohara/mezcla).\n\n## Documentation\n\nYou can learn more about Batspp reading the [docs](https://batspp.readthedocs.io/en/latest/).\n\n## License\nBatspp is released under an GNU Lesser General Public License Version 3, see [LICENSE.TXT](./LICENSE.txt) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimabd%2Fbatspp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimabd%2Fbatspp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimabd%2Fbatspp/lists"}