Skip to content

jon-acker/phpspec-kohana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phpspec-kohana

Extension for using PhpSpec with Kohana framework

Create a composer.json file:

{
    "require-dev": {
        "phpspec/kohana-extension": "0.2.*"
    },
    "config": {
        "bin-dir": "bin"
    },
    "autoload": {"psr-0": {"": "public/application/classes"}}
}
cp vendor/phpspec/kohana-extension/phpspec.yml.dist phpspec.yml
bin/phpspec describe Acme_Driver_Formatter
bin/phpspec run

You specify the applicaiton root in phpspec.yml, for example:

application_root: public/application

This will usually match the path you set for your composer autoload to search for classes.

For documentation on how to use phpspec, see: http://www.phpspec.net/

About

Extension for using PhpSpec with Kohana framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages