{"id":23209044,"url":"https://github.com/mnvx/pprocess","last_synced_at":"2026-05-17T02:38:24.600Z","repository":{"id":57018572,"uuid":"88914929","full_name":"mnvx/pprocess","owner":"mnvx","description":"Execution of processes in async mode for tests","archived":false,"fork":false,"pushed_at":"2017-04-24T22:38:05.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T12:09:56.380Z","etag":null,"topics":["assertions","async","phpunit","testing"],"latest_commit_sha":null,"homepage":null,"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/mnvx.png","metadata":{"files":{"readme":"README.md","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":"2017-04-20T22:13:28.000Z","updated_at":"2017-05-15T11:40:14.000Z","dependencies_parsed_at":"2022-08-22T20:20:22.000Z","dependency_job_id":null,"html_url":"https://github.com/mnvx/pprocess","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mnvx/pprocess","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Fpprocess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Fpprocess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Fpprocess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Fpprocess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnvx","download_url":"https://codeload.github.com/mnvx/pprocess/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Fpprocess/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259353731,"owners_count":22844762,"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":["assertions","async","phpunit","testing"],"created_at":"2024-12-18T18:13:57.246Z","updated_at":"2025-10-28T03:35:45.177Z","avatar_url":"https://github.com/mnvx.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PProcess\n========\n[![Build Status](https://travis-ci.org/mnvx/pprocess.png?branch=master)](https://travis-ci.org/mnvx/pprocess)\n[![Latest Stable Version](https://img.shields.io/packagist/v/mnvx/pprocess.svg?style=flat-square)](https://packagist.org/packages/mnvx/pprocess)\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.5-8892BF.svg?style=flat-square)](https://php.net/)\n[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)\n\nExecution of processes in async mode for tests.\n\nThis extension for PhpUnit will help you to test bugs in processes\nwhich are executing in async mode. PProcess will help you to test\ndeadlocks, conflicts with duplicate keys \nand other bugs in async processes.\n\nUsage\n-----\n\n```php\n\u003c?php\n\nuse PHPUnit\\Framework\\TestCase;\nuse Mnvx\\PProcess\\Command\\Command;\nuse Mnvx\\PProcess\\AsyncTrait;\n\n/**\n * Class AsyncTest\n *\n * @use ./vendor/bin/phpunit tests/AsyncTest.php\n */\nclass AsyncTest extends TestCase\n{\n    use AsyncTrait;\n\n    public function testCommandMustBeExecutedInAsyncMode()\n    {\n        // For Laravel\n        $testCommand = \"php artisan my-command-one --env=testing\";\n        $this-\u003eassertAsyncCommand(new Command($testCommand, dirname(dirname(__FILE__)), 5));\n    }\n\n    public function testCommandMustNotBeExecutedInAsyncMode()\n    {\n        // For Symfony\n        $testCommand = \"bin/console my-command-two --env=testing\";\n        $this-\u003eassertNotAsyncCommand(new Command($testCommand, dirname(dirname(__FILE__)), 5));\n    }\n\n}\n```\n\nRequirements\n------------\n\n* Linux or MacOS. Windows is not supported.\n* PHP 5.5+\n\nInstallation\n------------\n\nUsing composer:\n\n```bash\ncomposer require mnvx/pprocess --dev\n```\n\nLicense\n-------\n\nReleased under the MIT license","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnvx%2Fpprocess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnvx%2Fpprocess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnvx%2Fpprocess/lists"}