{"id":14982845,"url":"https://github.com/zdharma-continuum/zunit","last_synced_at":"2025-10-03T03:30:30.220Z","repository":{"id":39906530,"uuid":"456310783","full_name":"zdharma-continuum/zunit","owner":"zdharma-continuum","description":"A powerful testing framework for ZSH projects","archived":false,"fork":true,"pushed_at":"2024-02-20T10:41:39.000Z","size":291,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T02:06:48.358Z","etag":null,"topics":["zinit","zinit-plugin","zsh","zsh-plugin","zsh-plugins","zshell"],"latest_commit_sha":null,"homepage":"https://zunit.xyz","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"zunit-zsh/zunit","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zdharma-continuum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-07T00:35:04.000Z","updated_at":"2024-08-04T13:18:30.000Z","dependencies_parsed_at":"2023-02-09T17:15:16.948Z","dependency_job_id":null,"html_url":"https://github.com/zdharma-continuum/zunit","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdharma-continuum","download_url":"https://codeload.github.com/zdharma-continuum/zunit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235069299,"owners_count":18930936,"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":["zinit","zinit-plugin","zsh","zsh-plugin","zsh-plugins","zshell"],"created_at":"2024-09-24T14:06:17.933Z","updated_at":"2025-10-03T03:30:24.953Z","avatar_url":"https://github.com/zdharma-continuum.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ZUnit](https://zunit.xyz/img/logo.png)\n\n[![GitHub release](https://img.shields.io/github/release/zdharma-continuum/zunit.svg)](https://github.com/zdharma-continuum/zunit/releases/latest)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zdharma-continuum/zinit?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nZUnit is a powerful unit testing framework for ZSH\n\n## Installation\n\n\u003e **WARNING**: Although the majority of ZUnit's functionality works as expected, it is in the early stages of\n\u003e development, and as such bugs are likely to be present. Please continue with caution, and\n\u003e [report any issues](https://github.com/zunit-zsh/zunit/issues/new) you may have.\n\n### [Zinit](https://github.com/zdharma-continuum/zinit)\n\n```sh\nzinit build for @zdharma-continuum/zunit\n```\n\n### Manual\n\n```zsh\ngit clone https://github.com/zdharma-continuum/zunit.git\ncd zunit\n./configure\nmake\nmake install\n```\n\n## Writing Tests\n\n### Test syntax\n\nTests in ZUnit have a simple syntax, which is inspired by the [BATS](https://github.com/sstephenson/bats) framework.\n\n```zsh\n#!/usr/bin/env zunit\n\n@test 'example test' {\n  # test logic\n}\n```\n\nThe body of each test can contain any valid ZSH code. The zunit shebang `#!/usr/bin/env zunit` **MUST** appear at the\ntop of each test file, or ZUnit will not run it.\n\n## Documentation\n\nFor a full breakdown of ZUnit's syntax and functionality, check out the\n[official documentation](https://zunit.xyz/docs/).\n\n## Contributing\n\nAll contributions are welcome, and encouraged. Please read our [contribution guidelines](contributing.md) and\n[code of conduct](code-of-conduct.md) for more information.\n\n## License\n\nZUnit is licensed under The MIT License (MIT)\n\nCopyright (c) 2016 - 2022 James Dinsdale \u003chi@molovo.co\u003e (molovo.co)\n\nCopyright (c) 2022 zdharma-continuum \u003chttps://github.com/zdharma-continuum\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdharma-continuum%2Fzunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzunit/lists"}