2017 © Pedro Peláez
 

library phpspec-alias

Change phpspec run or describe command quickly

image

tumtum/phpspec-alias

Change phpspec run or describe command quickly

  • Thursday, December 15, 2016
  • by TumTum
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

phpspec-alias

Change run/desc command quickly, (*1)

What is the alias? What i win?

  • Normal: ./bin/phpspec run 'vendor\Project\CoreBundle\Repository\UserRepository'
  • Alias: ./bin/pec 'Repository\UserRepositor'

To creates a specification

  • Normal: ./bin/phpspec describe 'vendor\Project\CoreBundle\Repository\UserRepository'
  • Alias: ./bin/pec 'Repository\UserRepositor' -d

And than start without -d, to run the specification, (*2)

  • ./bin/pec 'Repository\UserRepositor'

But you must specifies the namespace.

-./bin/pec -n 'vendor\Project\CoreBundle', (*3)

The run command: ./bin/pec 'Repository\UserRepositor' will be than change to: ./bin/phpspec run '[vendor\Project\CoreBundle\]Repository\UserRepositor', (*4)

The Versions

15/12 2016

dev-master

9999999-dev

Change phpspec run or describe command quickly

  Sources   Download

MIT

The Requires

 

15/12 2016

v0.1.1

0.1.1.0

Change phpspec run or describe command quickly

  Sources   Download

MIT

The Requires

 

15/12 2016

v0.1

0.1.0.0

Change run/desc command quickly

  Sources   Download

MIT

The Requires