{"id":22748689,"url":"https://github.com/fgrehm/autotestforphp","last_synced_at":"2025-04-14T12:06:17.845Z","repository":{"id":620791,"uuid":"260191","full_name":"fgrehm/autotestforphp","owner":"fgrehm","description":"AutotestForPHP is based off of ZenTest autotest which is a popular Ruby tool for running tests as soon as files get changed.","archived":false,"fork":false,"pushed_at":"2009-12-05T23:40:53.000Z","size":103,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T01:13:20.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/fgrehm.png","metadata":{"files":{"readme":"README.rdoc","changelog":"History.txt","contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-07-25T06:21:05.000Z","updated_at":"2013-10-21T21:51:25.000Z","dependencies_parsed_at":"2022-08-06T09:16:18.819Z","dependency_job_id":null,"html_url":"https://github.com/fgrehm/autotestforphp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fautotestforphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fautotestforphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fautotestforphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fautotestforphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgrehm","download_url":"https://codeload.github.com/fgrehm/autotestforphp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703204,"owners_count":21148118,"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":[],"created_at":"2024-12-11T03:34:21.972Z","updated_at":"2025-04-14T12:06:17.817Z","avatar_url":"https://github.com/fgrehm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= AutotestForPHP\n\n* http://github.com/fgrehm/autotestforphp\n* fgrehm@gmail.com\n\n\n== DESCRIPTION:\n\nAutotestForPHP is based off of ZenTest autotest which is a popular Ruby tool for running tests as soon as files get changed:\n* http://www.zenspider.com/ZSS/Products/ZenTest/\n\nCode for displaying notifications is based on Carlos Brando autotest-notification gem:\n* http://github.com/carlosbrando/autotest-notification\n\nThe tool was written on Ruby but you don't need to be a Ruby programmer in order to use it, just make sure you have Ruby and RubyGems installed:\n* http://www.ruby-lang.org\n* http://rubygems.org/read/chapter/3\n\n\n== REQUIREMENTS:\n\n* PHP5\n* PHPUnit\n* Ruby\n* RubyGems\n\n* Linux:\n    You need to have libnotify binaries installed.\n\n    For ubuntu this means: sudo apt-get install libnotify-bin\n\n    Other distributions may package it with other names, do a search for libnotify using your distribution package\n    manager.\n\n    If you use KDE and do not have libnotify-bin installed, it will try to use kdialog which is part of KDE.\n    It also works if you have zenity installed.\n\n* Mac: \n    You need to have Growl and growlnotify installed on your machine.\n\n    Download Growl[http://growl.info/index.php] and install it like any other application on your Mac.\n\n    Then you must install the growlnotify.\n\n    In your shell, cd to the directory on the Growl disk image containing growlnotify, and type ./install.sh.\n    That script will install growlnotify to /usr/local/bin and the manpage to /usr/local/man.\n\n* Windows:\n    You need to have Snarl and ruby-snarl installed on your machine.\n\n    Download Snarl[http://www.fullphat.net/] and install it like any other application on your machine.\n\n    Run in the command prompt:\n\n      gem install ruby-snarl\n\n\n== INSTALL:\n\n  gem install autotestforphp --source http://gemcutter.org\n\n\n== USAGE\n\n  autotestforphp --install\n\n  autotestforphp\n\nDuring instalation, AutotestForPHP will create:\n\n  1. An empty PHPUnit boostrap file on autotestforphp/bootstrap-autotest.php to be used when running tests\n\n  2. An empty config file on autotestforphp/config.autotest\n\n  3. A PHPUnit config file on autotestforphp/phpunit-autotest.xml to will configure the bootstrap file to be used,\n     tests folder and log results to a XML file needed for displaying notifications:\n\n        \u003cphpunit bootstrap=\"./autotestforphp/bootstrap-autotest.php\"\u003e\n            \u003ctestsuite name=\"Application\"\u003e\n                \u003cdirectory\u003e./test/\u003c/directory\u003e\n            \u003c/testsuite\u003e\n            \u003clogging\u003e\n                \u003clog type=\"junit\" target=\"./autotestforphp/logfile.xml\" /\u003e\n                \u003c!-- log type=\"test-xml\" target=\"./autotestforphp/logfile.xml\" for PHPUnit \u003c= 3.2 /--\u003e\n            \u003c/logging\u003e\n        \u003c/phpunit\u003e\n\nYou can specify the folders or files to be watched on \u003cem\u003eautotestforphp/config.autotest\u003c/em\u003e file by setting the FOLDERS_TO_WATCH Ruby constant\n\nExample:\n\n  FOLDERS_TO_WATCH = ['./src/**/*', './app/**/*', './test/**/*', './some_specific_file.php']\n\nIf no folders are specified in config file, AutotestForPHP will watch for changes on the following folders (if they exist):\n\n* src\n* app\n* lib\n* test\n\n\n== CONTRIBUTORS:\n\n* Fabio Rehm [http://github.com/fgrehm]\n* Andrea Fiore [http://github.com/web-bug]\n\n\n== TODO:\n\n* Default \u003cem\u003eautotestforphp/bootstrap-autotest.php\u003c/em\u003e\n* Write comments about config usage on \u003cem\u003eautotestforphp/config.autotest\u003c/em\u003e\n* Folders / files to skip\n* Check if tool was already installed and skip file creation\n* Support for SimpleTest\n\n\n== LICENSE:\n\n(The MIT License)\n\nCopyright (c) 2009\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgrehm%2Fautotestforphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgrehm%2Fautotestforphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgrehm%2Fautotestforphp/lists"}