phpspec/phpspec — Issue #47: Decoupling matchers
Author: phpspec
Created: 2011-12-29 21:51:17+00:00
State: open

Currently it's not possible to add a directory of matchers to PHPSpec.

PHPSpec_Zend matchers are added in PHPSpec code (hardcoded).

We want a way to add matchers via configuration.

this is an example, similar to the way it's done in rspec:

\PHPSpec\Runner::configure($config)
$config->includeMatchers('/path/to/matchers');
end