I have a number of Behat context classes that use traits. I'd like to be able to organize these traits into sub directories but when I attempt to use them, they are not found. None of these classes are namespaced. I'm not sure if namespacing them is the way to solve this.
Turns out namespacing was the key. I gave all my behat tests a namespace of MyAppName\Tests\Behat. I then added modified composer.json and dumped the autoloader ...