Abstract Command (FastForward\DevTools\Tests\Command\AbstractCommand)
- Configure will set expected name description and help
- Get absolute path will return absolute path if provided
- Get project name will return package name from composer
Add Missing Class Php Doc Rector (FastForward\DevTools\Tests\Rector\AddMissingClassPhpDocRector)
- Get rule definition will return configured definition
- Get node types will return class node
- Refactor will return null if not class node
- Refactor will return null if node has doc comment
- Refactor will add doc comment to class without namespace
- Refactor will add doc comment to class with namespace
Add Missing Method Php Doc Rector (FastForward\DevTools\Tests\Rector\AddMissingMethodPhpDocRector)
- Get rule definition will return configured definition
- Get node types will return class method node
- Refactor will return node if not class method
- Refactor will add tags to method with minimum doc comment
- Refactor will add tags to method without existing doc comment
- Refactor will handle complex types
- Resolve throws will skip non new or non name expressions
- Resolve throws will handle multiple and duplicates
- Refactor will insert blank lines between tag groups
- Refactor will not add duplicate tags
- Refactor will normalize existing spacing
- Refactor will handle intersections and unions
- Refactor will handle mixed and messy tags
- Refactor will handle intersections and unions with fully qualified names
Code Style Command (FastForward\DevTools\Tests\Command\CodeStyleCommand)
- Configure will set expected name description and help
- Execute will run composer update process
- Execute will run composer normalize process
- Execute with fix option will run composer normalize process without dry run option quietly
- Execute with local config will run code style process with dev tools config file
- Execute without local config will run code style process with dev tools config file
- Execute with fix option will run code style process without dry run option
- Execute will return failure if process fails
Command (FastForward\DevTools\Tests\Command\Command)
- Configure will set expected name description and help
- Execute with local config will run php unit process with dev tools config file
- Execute without local config will run php unit process with dev tools config file
- Execute with coverage will include coverage arguments
- Execute will return failure if process fails
Dev Tools (FastForward\DevTools\Tests\DevTools)
- Get default commands will merge provided commands with framework defaults
- Constructor will set application name
Dev Tools Command Provider (FastForward\DevTools\Tests\Composer\Capability\DevToolsCommandProvider)
- Get commands will return all supported commands in expected order
- Get commands will return only abstract command implementations
Docs Command (FastForward\DevTools\Tests\Command\DocsCommand)
- Configure will set expected name description and help
- Execute will fail if source directory not found
- Execute will generate php documentor config and run process
- Execute will return failure if process fails
- Execute will create config directory if it does not exist
Php Doc Command (FastForward\DevTools\Tests\Command\PhpDocCommand)
- Configure will set expected name description and help
- Execute will copy doc header when missing
- Execute will handle dump file exception
- Execute will return failure if process fails
- Execute will handle composer exception during docheader creation
Plugin (FastForward\DevTools\Tests\Composer\Plugin)
- Get capabilities will return dev tools command provider mapping
- Activate will add dev tools script if missing
- Activate will do nothing if dev tools script is present
- Deactivate will do nothing
- Uninstall will do nothing
Refactor Command (FastForward\DevTools\Tests\Command\RefactorCommand)
- Configure will set expected name description and help
- Execute with local config will run rector process with dev tools config file
- Execute without local config will run rector process with dev tools config file
- Execute with fix option will run rector process without dry run option
- Execute will return failure if process fails
Remove Empty Doc Block Rector (FastForward\DevTools\Tests\Rector\RemoveEmptyDocBlockRector)
- Get rule definition will return configured definition
- Get node types will return class and class method node
- Refactor will return null if not class or class method node
- Refactor will return null if node has no doc comment
- Refactor will return null if doc comment is not empty
- Refactor will remove empty doc comment
- Refactor will remove single line empty doc comment
- Refactor will remove empty doc comment with spaces
- Refactor will return null for non supported nodes
Reports Command (FastForward\DevTools\Tests\Command\ReportsCommand)
- Configure will set expected name description and help
- Execute will run docs and tests command and generate frontpage
Standards Command (FastForward\DevTools\Tests\Command\StandardsCommand)
- Configure will set expected name description and help
- Execute will run suite sequentially
Wiki Command (FastForward\DevTools\Tests\Command\WikiCommand)
- Configure will set expected name description and help
- Execute will run process with phpdoc markdown arguments
- Execute will return failure if process fails