BossaConsulting / phpspec2-expect

Helper that decorates any SUS with a PhpSpec lazy object wrapper
MIT License
75 stars 34 forks source link

Enable disabling expect() function by environment variable #27

Closed blazej-pachut-gforces closed 8 years ago

blazej-pachut-gforces commented 8 years ago

In our current test setup we're using both PHPSpec2 Expect and Kahlan. Unfortunately both are using autoloading of expect() functions in composer. Kahlan has ability to disable its expect using environment variable. To properly run kahlans we needed ability to disable PHPSpec2 expect. That way we can run Kahlan or PHPSpec flawlessy.

jakzal commented 8 years ago

:+1: but I recommend squashing commits before merging to maintain clean history

blazej-pachut-gforces commented 8 years ago

Thanks I missed that test one. Should be nicer now.