Closed ek9 closed 7 years ago
I belive src/Extension
directory is setup as part of subtreesplit. I would suggest to get rid of that instead and use src/<EXTENSION>
structure. We could then also remove the Extension
sub-namespace to clean it up, however that would require further updates to subtreesplit + break compatibility with 0.4
This would fix #25
This would also fix #5 as I have tried running the updated version on an existing behat/phpspec heavy project which previously relied on phpspec2 and it seems to work fine with PHPSpec3 so far.
Brilliant, thank you for this!
This is a big PR with the following changes:
RMiller\BehatSpec
now (src/
), thussrc/Extension
becomesRMiller\BehatSpec\Extension
. This was a bigger change, but I have updated all the related composer.json files + tests + retested everything to make sure all of the extensions work fine.composer.json
ofbehat-spec
package to efficiently and correctly load extension viaPSR-4
v0.3.*
for PHPSpec2 support untilv0.4.*
is stable.This is related to and fixes #18 #23
I have made sure all the tests pass in all extensions where the tests were setup. There is still ExemplifyExtension tests failing, but it's same failures that were there before this PR (I've made a sparate issue to track it)