Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/voronkovich/phpunit.plugin.zsh

Zsh plugin for PHPUnit
https://github.com/voronkovich/phpunit.plugin.zsh

phpunit zsh-plugin

Last synced: about 2 months ago
JSON representation

Zsh plugin for PHPUnit

Lists

README

        

# phpunit.plugin.zsh

A zsh plugin for the [PHPUnit](https://phpunit.de/) with usefull commands and an actual autocompletion.

## Installation

Antigen:

antigen bundle voronkovich/phpunit.plugin.zsh

Or clone this repo and add this into your .zshrc:

source path/to/cloned/repo/phpunit.plugin.zsh

## Usage

This plugin provides a `pu` command to invoke a correct local PHPUnit script.

```sh
# Always you run the phpunit like this (Symfony application):
$ vendor/bin/phpunit -c app
```

```sh
# The 'pu' finds an appropriate phpunit script
# and phpunit.xml or phpunit.xml.dist files for you:
$ pu
```

## License

Copyright (c) Voronkovich Oleg. Distributed under the MIT.