Download the PHP package xsolve-pl/xsolve-unit-skelgen-bundle without Composer
On this page you can find all versions of the php package xsolve-pl/xsolve-unit-skelgen-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xsolve-pl/xsolve-unit-skelgen-bundle
More information about xsolve-pl/xsolve-unit-skelgen-bundle
Files in xsolve-pl/xsolve-unit-skelgen-bundle
Download xsolve-pl/xsolve-unit-skelgen-bundle
More information about xsolve-pl/xsolve-unit-skelgen-bundle
Files in xsolve-pl/xsolve-unit-skelgen-bundle
Vendor xsolve-pl
Package xsolve-unit-skelgen-bundle
Short Description XSolve PHPUnit SkelGen Bundle to improve creating test cases for PHPUnit
License MIT
Homepage https://github.com/xsolve-pl/xsolve-unit-skelgen-bundle
Package xsolve-unit-skelgen-bundle
Short Description XSolve PHPUnit SkelGen Bundle to improve creating test cases for PHPUnit
License MIT
Homepage https://github.com/xsolve-pl/xsolve-unit-skelgen-bundle
Please rate this library. Is it a good library?
Informations about the package xsolve-unit-skelgen-bundle
About
This bundle helps with PHPUnit test suites creation by using phpunit-skelgen (Skeleton Generator)
Features:
- creates test suite class respectively to given namespace (for instance Controller/DemoController.php will have test in Test/Controller/DemoControllerTest.php)
- asterisks and dots pattern matching - it will create test suites for every matching class in found directory
- fully TDD capable - creates production classes based on test suite class
- easy to extend and introduce changes in the future
Installation
1) Add to composer.json
"require": {
"xsolve-pl/xsolve-unit-skelgen-bundle": "1.0.*"
}
2) Install dependencies
composer install
3) Enable the bundle in app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Xsolve\UnitSkelgenBundle\XsolveUnitSkelgenBundle(),
);
}
Usage
Generate PHPUnit test class for a single production class:
app/console xsolve:skelgen:test Xsolve/ExampleBundle/Controller/DefaultController
Generate PHPUnit test class for a namespace:
app/console xsolve:skelgen:test Xsolve/ExampleBundle/Controller/.
Nice matching! It will create tests for DefaultControllers in all the bundles:
app/console xsolve:skelgen:test Xsolve/*/Controller/DefaultController
Using the same patterns you can generate production classes from test classes:
app/console xsolve:skelgen:class Xsolve/ExampleBundle/Tests/Controller/DefaultControllerTest
All versions of xsolve-unit-skelgen-bundle with dependencies
PHP Build Version
Package Version
No informations.
The package xsolve-pl/xsolve-unit-skelgen-bundle contains the following files
Loading the files please wait ....