{"id":15450358,"url":"https://github.com/boldare/xsolve-unit-skelgen-bundle","last_synced_at":"2025-04-19T22:58:29.312Z","repository":{"id":9523257,"uuid":"11422330","full_name":"boldare/xsolve-unit-skelgen-bundle","owner":"boldare","description":"Symfony2 Bundle for PHPUnit Skelgen Integration","archived":false,"fork":false,"pushed_at":"2023-02-06T10:11:02.000Z","size":280,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":70,"default_branch":"master","last_synced_at":"2025-03-29T13:51:19.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://xsolve.pl/opensource","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/boldare.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-15T12:12:21.000Z","updated_at":"2016-12-07T15:58:59.000Z","dependencies_parsed_at":"2024-11-16T17:38:41.227Z","dependency_job_id":"f15aadc0-a9ad-4373-a7ea-476af7e34283","html_url":"https://github.com/boldare/xsolve-unit-skelgen-bundle","commit_stats":{"total_commits":37,"total_committers":3,"mean_commits":"12.333333333333334","dds":"0.29729729729729726","last_synced_commit":"686c9f697ecd76f93a8ac995d98ab0f5833b351c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fxsolve-unit-skelgen-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fxsolve-unit-skelgen-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fxsolve-unit-skelgen-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boldare%2Fxsolve-unit-skelgen-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boldare","download_url":"https://codeload.github.com/boldare/xsolve-unit-skelgen-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249826664,"owners_count":21330673,"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-10-01T21:04:49.603Z","updated_at":"2025-04-19T22:58:29.280Z","avatar_url":"https://github.com/boldare.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\n[![knpbundles.com](http://knpbundles.com/xsolve-pl/xsolve-unit-skelgen-bundle/badge)](http://knpbundles.com/xsolve-pl/xsolve-unit-skelgen-bundle)\n\n[![Build Status](https://travis-ci.org/xsolve-pl/xsolve-unit-skelgen-bundle.png?branch=master)](https://travis-ci.org/xsolve-pl/xsolve-unit-skelgen-bundle)\n\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/033dad83-796b-48c2-ba32-6b48a4e8f4c3/big.png)](https://insight.sensiolabs.com/projects/033dad83-796b-48c2-ba32-6b48a4e8f4c3)\n\n\nThis bundle helps with PHPUnit test suites creation by using phpunit-skelgen (Skeleton Generator)\n\nFeatures:\n\n* creates test suite class respectively to given namespace (for instance \nController/DemoController.php will have test in Test/Controller/DemoControllerTest.php)\n* asterisks and dots pattern matching - it will create test suites for every matching class in found directory\n* fully TDD capable - creates production classes based on test suite class\n* easy to extend and introduce changes in the future\n\n![Example usage](https://raw.github.com/xsolve-pl/xsolve-unit-skelgen-bundle/master/Resources/doc/xsolve-unit-skelgen-bundle-example.png)\n\n# Installation\n\n1) Add to composer.json\n\n    \"require\": {\n        \"xsolve-pl/xsolve-unit-skelgen-bundle\": \"1.0.*\"\n    }\n\n2) Install dependencies\n\n    composer install\n\n3) Enable the bundle in app/AppKernel.php\n\n    public function registerBundles()\n    {\n        return array(\n        // ...\n            new Xsolve\\UnitSkelgenBundle\\XsolveUnitSkelgenBundle(),\n        );\n    }\n\n\n# Usage\n\nGenerate PHPUnit test class for a single production class:\n\n    app/console xsolve:skelgen:test Xsolve/ExampleBundle/Controller/DefaultController\n\nGenerate PHPUnit test class for a namespace:\n\n    app/console xsolve:skelgen:test Xsolve/ExampleBundle/Controller/.\n\nNice matching! It will create tests for DefaultControllers in all the bundles:\n\n    app/console xsolve:skelgen:test Xsolve/*/Controller/DefaultController\n\nUsing the same patterns you can generate production classes from test classes:\n\n    app/console xsolve:skelgen:class Xsolve/ExampleBundle/Tests/Controller/DefaultControllerTest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboldare%2Fxsolve-unit-skelgen-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboldare%2Fxsolve-unit-skelgen-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboldare%2Fxsolve-unit-skelgen-bundle/lists"}