Download the PHP package thomasweinert/phpunit-extension-skeleton without Composer
On this page you can find all versions of the php package thomasweinert/phpunit-extension-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thomasweinert/phpunit-extension-skeleton
More information about thomasweinert/phpunit-extension-skeleton
Files in thomasweinert/phpunit-extension-skeleton
Package phpunit-extension-skeleton
Short Description Skeleton for PHPUnit extensions
License BSD-3-Clause
Informations about the package phpunit-extension-skeleton
PHPUnit Extension Skeleton
A skeleton for an extension for PHPUnit. It provides the necessary files and build scripts. Here is a "Hello World" example based on this skeleton that implements a simple constraint and assertion for PHPUnit. .
Requirements
Usage
Use Composer to create a new extension project from this skeleton.
Go into the new project directory.
Install tools used to build and package your extension using Phive.
Start adding new
Build Targets
The repository includes a Phing build file. Phive installs
Phing and the other tools into the tools/
subdirectory.
build
Create a Phar package for the extension. The phar will be put into the build/
directory. The name and information
for a Phive manifest.xml
will be read from the composer.json
. The latest tag from current Git branch will
be used as version number.
clean
Delete build artifacts.
package
Create a Phar package for the extension and sign it using GPG. the first time you will be asked
GPG user. The user will be stored in the build.properties
file.
reformat
Uses the PHP Coding Standards Fixer to reformat the source code according the PHPUnit coding standard.
test
Run unit tests.