Download the PHP package probedock/probedock-phpunit without Composer

On this page you can find all versions of the php package probedock/probedock-phpunit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package probedock-phpunit

PHPUnit probe for Probe Dock

PHPUnit listener to publish test results to Probe Dock.

Setup

Add probedock-phpunit as a dependency in your composer.json file:

Then run php composer.phar update.

If you haven't done so already, set up your Probe Dock configuration file(s). This procedure is described here:

You must then add the Probe Dock PHPUnit listener to your PHPUnit configuration file (e.g. phpunit.xml.dist). This is the listener you must add:

Here's a complete sample of a phpunit.xml.dist configuration file from a Symfony project, showing where to add the listener (at the bottom):

All test results will now be published to Probe Dock the next time you run your test suite!

Usage

To enrich tests with more information, you can use the @ProbeDock annotation:

Troubleshooting

AnnotationException: the annotation was never imported

This library uses Doctrine annotations so you can enrich tests with additional information such as tags.

If you are using other annotations, they may come into conflict with the Doctrine annotations library. For example, this error may occur in a project where an @expectedException annotation was used in the tests:

To solve this issue, you must add the annotations not known by Doctrine to its global ignore list. The following code in your tests' bootstrap file will do the trick:

If you do not already have a bootstrap file for your tests, you can create it and add its path to the <phpunit> tag in your phpunit.xml.dist configuration file:

Contributing

Please add a changelog entry with your name for new features and bug fixes.

Contributors

License

probedock-phpunit is licensed under the MIT License. See LICENSE.txt for the full text.


All versions of probedock-phpunit with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
phpunit/phpunit Version >=3.7 <6.0.0
guzzlehttp/guzzle Version ^6.2
ramsey/uuid Version ^3.4
camspiers/json-pretty Version ^1.0
doctrine/annotations Version ^1.2
symfony/yaml Version ^3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package probedock/probedock-phpunit contains the following files

Loading the files please wait ....