sebastianbergmann/phpunit-skeleton-generator — Issue #5: Add recurcive directories creation
Author: alexanderilyin
Created: 2012-03-04 00:23:32+00:00
State: open

I'm working on some wrapper over phpunit and phpunit-skelgen and now I faced with problem that phpunit-skelgen can't create test classes when there is some directories are missing in the provided path.

```bash
~/project (master)> phpunit-skelgen --test -- CliScriptTest UTests/_packages/SEO/Sitemap/CliScriptTest.php CliScript _packages/SEO/Sitemap/CliScript.php
PHPUnit Skeleton Generator 1.1.0 by Sebastian Bergmann.

Fatal error: Uncaught exception 'RuntimeException' with message '"UTests/_packages/SEO/Sitemap/CliScriptTest.php" could not be opened.' in /local/php5/share/pear/PHPUnit/SkeletonGenerator/Test.php on line 114

RuntimeException: "UTests/_packages/SEO/Sitemap/CliScriptTest.php" could not be opened. in /local/php5/share/pear/PHPUnit/SkeletonGenerator/Test.php on line 114

Call Stack:
0.0001 645992 1. {main}() /local/php5/bin/phpunit-skelgen:0
0.0018 901920 2. PHPUnit_SkeletonGenerator_TextUI_Command::main() /local/php5/bin/phpunit-skelgen:44
0.0058 1705176 3. ReflectionClass->newInstanceArgs() /local/php5/share/pear/PHPUnit/SkeletonGenerator/TextUI/Command.php:166
0.0058 1705960 4. PHPUnit_SkeletonGenerator_Test->__construct() /local/php5/share/pear/PHPUnit/SkeletonGenerator/TextUI/Command.php:166
```