{"id":24433843,"url":"https://github.com/windler/zsh-phpunit-docker","last_synced_at":"2026-04-16T11:03:06.223Z","repository":{"id":151075890,"uuid":"98804148","full_name":"windler/zsh-phpunit-docker","owner":"windler","description":"Run phpunit tests in a docker container using zsh completion","archived":false,"fork":false,"pushed_at":"2017-08-07T17:41:19.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T21:26:13.587Z","etag":null,"topics":["autocompletion","docker","docker-container","phpunit","phpunit-groups","zsh"],"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/windler.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-07-30T14:48:30.000Z","updated_at":"2019-01-07T00:27:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"8989f984-0b3f-4859-b66e-42c8f7ecd343","html_url":"https://github.com/windler/zsh-phpunit-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/windler/zsh-phpunit-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fzsh-phpunit-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fzsh-phpunit-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fzsh-phpunit-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fzsh-phpunit-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windler","download_url":"https://codeload.github.com/windler/zsh-phpunit-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fzsh-phpunit-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["autocompletion","docker","docker-container","phpunit","phpunit-groups","zsh"],"created_at":"2025-01-20T16:50:57.410Z","updated_at":"2026-04-16T11:03:06.207Z","avatar_url":"https://github.com/windler.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zsh-phpunit-dockertests\nThis is a `oh-my-zsh` plugin that lets you run `phpunit`-tests in a docker container.\nThis plugin comes with autocompletion for running containers, commands and phpunit groups.\n\n## Installation\nIn order to install you need `Docker` and `oh-my-zsh`. Then you can install the plugin doing the following:\n\n\n```\ncd ~/.oh-my-zsh/custom/plugins\ngit clone https://github.com/windler/zsh-phpunit-docker.git\nzsh\n```\n\n## Preconditions\nAfter installing the plugin you have to define two variables. This plugin needs to know where the phpunit\nexecutable is located in your containers. If you want to generate coverage reports you also have to define the output folder. The archive this you can add the following variables to your `~/.zshrc` file:\n\n```\n__DOCKER_PHPUNIT=\"./vendor/phpunit/phpunit/phpunit\"\n__DOCKER_PHPUNIT_COVERAGE_DIR=\"coverage_report\"\n```\n\n## Dockertests\nThe basic command is\n```\ndockertests \u003ccontainer\u003e [\u003coption\u003e [\u003carg\u003e]]\n\n##Example\ndockertests my_php_fpm_container group integration_tests\n```\n\nThe argument `\u003ccontainer\u003e` is the name or id of a running container. You can use `tab`\nfor autocompletion. After choosing a container you have various options:\n```\nall - Runs all tests except the ignore-group (if used). This is the default command.\ngroup - Runs tests for a phpunit group\nfilter - provides a filter for e.g. running one tests\ncoverage - runs all tests except ignore-group and prints coverage (console)\ncoverage-report - runs all tests except ignore-group with coverage report (html)\n```\n\nIf the `group` command is provided you can autocomplete the phpunit group (this takes a while).\n\n## Dockerbash\nIn addition to run tests you can simply start a `bash` on a cotainer using\n\n```\ndockerbash \u003ccontainer\u003e\n```\n\nThe argument `\u003ccontainer\u003e` is the name or id of a running container. You can use `tab`\nfor autocompletion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fzsh-phpunit-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindler%2Fzsh-phpunit-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fzsh-phpunit-docker/lists"}