WordPoints / dev-lib

Developer tools for WordPoints projects
MIT License
4 stars 0 forks source link

phpunit: Automatically register autoloading method when a directory is registered #160

Closed JDGrimes closed 8 years ago

JDGrimes commented 8 years ago

I was just attempting to use the PHPUnit helper class autoloader that we introduced in #127, and I was assuming that all I had to do was register the autoload directory and then it would work. But we never actually register the autoloading method of the class, so we also need to do that. This should just be done automatically whenever a directory is registered though. Not just for convenience, but also because otherwise the autoloader could get unnecessarily registered multiple times.