{"id":18566186,"url":"https://github.com/atoum/sfatoumplugin","last_synced_at":"2025-06-27T06:33:13.389Z","repository":{"id":1679388,"uuid":"2406573","full_name":"atoum/sfAtoumPlugin","owner":"atoum","description":"atoum plugin for symfony 1.4","archived":false,"fork":false,"pushed_at":"2012-12-01T11:44:19.000Z","size":135,"stargazers_count":7,"open_issues_count":1,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-24T16:46:08.600Z","etag":null,"topics":["atoum-extension","php","symfony1","symphony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atoum.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-17T20:25:13.000Z","updated_at":"2019-05-23T13:49:44.000Z","dependencies_parsed_at":"2022-09-03T10:52:12.575Z","dependency_job_id":null,"html_url":"https://github.com/atoum/sfAtoumPlugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atoum%2FsfAtoumPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atoum%2FsfAtoumPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atoum%2FsfAtoumPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atoum%2FsfAtoumPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atoum","download_url":"https://codeload.github.com/atoum/sfAtoumPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248163197,"owners_count":21057889,"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":["atoum-extension","php","symfony1","symphony"],"created_at":"2024-11-06T22:22:07.430Z","updated_at":"2025-04-10T05:32:14.385Z","avatar_url":"https://github.com/atoum.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# *sfAtoumPlugin*\n\n##Install\n\n### Using composer\n\nAdd this to you dependencies in your composer.json ([example](https://gist.github.com/3006430)) : \n\n```\n  \"require\"     : {\n    \"atoum/sfAtoumPlugin\": \"*\"\n  },\n```\n\nAfter a \n\n`php composer.phar update`\n\nThe plugin should be in the plugin folder and atoum in the vendor folder.\n\nThen in your ProjectConfiguration file you have to activate the plugin and define the atoum path.\n\n``` php\n  sfConfig::set('sf_atoum_path', dirname(__FILE__) . '/../vendor/atoum/atoum');\n\n  if (sfConfig::get('sf_environment') != 'prod')\n  {\n    $this-\u003eenablePlugins('sfAtoumPlugin');\n  }\n```\n\n\n### Using a git submodule\n\nInstall atoum as a submodule\n\n`git submodule add git://github.com/atoum/atoum.git lib/vendor/atoum`\n\n\nInstall sfAtoumPlugin as a git submodule\n\n`git submodule add git://github.com/agallou/sfAtoumPlugin.git plugins/sfAtoumPlugin`\n\n\nAdd the plugin in your ProjectConfiguration file\n\n``` php\n\n  if (sfConfig::get('sf_environment') != 'prod')\n  {\n    $this-\u003eenablePlugins('sfAtoumPlugin');\n  }\n```\n\n\n##Launch tests\n\n`php symfony atoum:test`\n\nYou can pass a configuration file (see here for how to write the configuration file : https://github.com/atoum/atoum/wiki/atoum-et-Jenkins-(ou-Hudson) )\nvia the -c option :\n\n`php symfony atoum:test -c config/atoum/hudson.php`\n\n\n\nAll atoum options are available :\n\n```\n ./symfony help atoum:test\n\nUsage:\n symfony atoum:test [-p|--php[=\"...\"]] [--default-report-title[=\"...\"]] [-c|--configurations[=\"...\"]] [--score-file[=\"...\"]] [--max-children-number[=\"...\"]] [--no-code-coverage] [--no-code-coverage-in-directories[=\"...\"]] [--no-code-coverage-for-namespaces[=\"...\"]] [--no-code-coverage-for-classes[=\"...\"]] [-f|--files[=\"...\"]] [-d|--directories[=\"...\"]] [--test-file-extensions[=\"...\"]] [-g|--glob[=\"...\"]] [--tags[=\"...\"]] [-m|--methods[=\"...\"]] [--namespaces[=\"...\"]] [-l|--loop] [--test-it[=\"...\"]] [--test-all[=\"...\"]] [--force-terminal[=\"...\"]] [--bootstrap-file[=\"...\"]] [--use-light-report[=\"...\"]] [--debug[=\"...\"]]\n\nArguments:\n test-file-or-dir        path to test files or folders\n\nOptions:\n --php                              (-p) Path to PHP binary which must be used to run tests (default: Array(    [0] =\u003e /usr/bin/php5)) (multiple values allowed)\n --default-report-title             Define default report title with \u003cstring\u003e (multiple values allowed)\n --configurations                   (-c) Use all configuration files \u003cfile\u003e (multiple values allowed)\n --score-file                       Save score in file \u003cfile\u003e (multiple values allowed)\n --max-children-number              Maximum number of sub-processus which will be run simultaneously (multiple values allowed)\n --no-code-coverage                 Disable code coverage\n --no-code-coverage-in-directories  Disable code coverage in directories \u003cdirectory\u003e (multiple values allowed)\n --no-code-coverage-for-namespaces  Disable code coverage for namespaces \u003cnamespace\u003e (multiple values allowed)\n --no-code-coverage-for-classes     Disable code coverage for classes \u003cclass\u003e (multiple values allowed)\n --files                            (-f) Execute all unit test files \u003cfile\u003e (multiple values allowed)\n --directories                      (-d) Execute unit test files in all \u003cdirectory\u003e (default: Array(    [0] =\u003e /var/www/ereservation/test/unit/)) (multiple values allowed)\n --test-file-extensions             Execute unit test files with one of extensions \u003cextension\u003e (multiple values allowed)\n --glob                             (-g) Execute unit test files which match \u003cpattern\u003e (multiple values allowed)\n --tags                             Execute only unit test with tags \u003ctag\u003e (multiple values allowed)\n --methods                          (-m) Execute all \u003cclass::method\u003e, * may be used as wildcard for class name or method name (multiple values allowed)\n --namespaces                       Execute all classes in all namespaces \u003cnamespace\u003e (multiple values allowed)\n --loop                             (-l) Execute tests in an infinite loop\n --test-it                          Execute atoum unit tests (multiple values allowed)\n --test-all                         Execute unit tests in directories defined via $script-\u003eaddTestAllDirectory('path/to/directory') in a configuration file (multiple values allowed)\n --force-terminal                   Force output as in terminal (multiple values allowed)\n --bootstrap-file                   Include \u003cfile\u003e before executing each test method (multiple values allowed)\n --use-light-report                 Use \"light\" CLI report (multiple values allowed)\n --debug                            Enable debug mode (multiple values allowed)\n\n```\n\n##Write tests\n\ntests must include the bootstrap\n\n``` php\nrequire_once __DIR__ . '/../../../../plugins/sfAtoumPlugin/bootstrap/unit.php';\n```\n\n##Atoum\n\nAtoum repository and documentation are available here : \n\nhttps://github.com/atoum/atoum\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatoum%2Fsfatoumplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatoum%2Fsfatoumplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatoum%2Fsfatoumplugin/lists"}