{"id":28328123,"url":"https://github.com/stekel/autotest","last_synced_at":"2026-05-05T11:34:28.320Z","repository":{"id":57059520,"uuid":"105708378","full_name":"stekel/autotest","owner":"stekel","description":"Automatically run unit tests when a file is saved by utilizing entr","archived":false,"fork":false,"pushed_at":"2024-11-06T16:13:20.000Z","size":197,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-08T20:38:22.435Z","etag":null,"topics":["entr","laravel","phpunit"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/stekel.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,"zenodo":null}},"created_at":"2017-10-03T22:05:21.000Z","updated_at":"2024-09-13T20:16:55.000Z","dependencies_parsed_at":"2025-05-26T06:15:56.045Z","dependency_job_id":"5dd9137b-5240-4a39-ba3c-c63b0bf1ff0e","html_url":"https://github.com/stekel/autotest","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.022222222222222254","last_synced_commit":"a9b52f4a6a1a104cee38154a8cdf6027c8280445"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/stekel/autotest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fautotest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fautotest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fautotest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fautotest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stekel","download_url":"https://codeload.github.com/stekel/autotest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fautotest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266775383,"owners_count":23982273,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["entr","laravel","phpunit"],"created_at":"2025-05-26T06:15:50.769Z","updated_at":"2026-05-05T11:34:28.240Z","avatar_url":"https://github.com/stekel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoTest\n\nAutomatically run unit tests when a project file is saved.\n\n## Requirements\n\n- PHP \u003e= 7\n- PHPUnit \u003e= 6 or Pest \u003e 2\n- entr \u003e= 3.4\n\n## Installation\n\n- Install entr\n```bash\nsudo apt-get install entr\n```\n\n- Require it with Composer:\n```bash\ncomposer global require stekel/autotest\n```\n\n The `autotest` executable should now be located in the `~/.composer/vendor/bin/` directory.\n\n- Add this directory to your PATH in your ~/.bash_profile or ~/.bashrc\n```bash\nexport PATH=~/.composer/vendor/bin:$PATH\n```\n\n## Usage\n\n### Laravel\n\nRun the following command from the root of a Laravel application\n\n```bash\nphp artisan stekel:autotest\n```\nNote: this will use the local phpunit `./vendor/bin/phpunit`\n\n### Generic\n\nRun the following command from the root of a composer project with phpunit\n\n```bash\nautotest\n```\nNote: this will use the global phpunit `~/.composer/vendor/bin/phpunit`\n\nYour tests should run one time, after that `autotest` will run your tests every time a file within your project is saved. No more switching between your editor and a terminal.\n\n## Arguments \u0026 Flags\n\n`-f` Filter: passed to phpunit as the --filter parameter\n\n`-g` Group: passed to phpunit as the --group parameter\n\n`-d` Directory: passed to phpunit as the directory argument, prepends './tests/'\n\n`--coverage` Code Coverage: pending phpunit is configured to output code coverage reports, removes the `--no-coverage` flag\n\n`--localphpunit` Force Local phpunit: forces the use of `./vendor/bin/phpunit` as the phpunit location\n\n`--globalphpunit` Force Global phpunit: forces the use of `~/.composer/vendor/bin/phpunit` as the phpunit location\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstekel%2Fautotest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstekel%2Fautotest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstekel%2Fautotest/lists"}