sensiolabs / BehatPageObjectExtension

MIT License
117 stars 48 forks source link

Add extension requirements #55

Closed walterdolce closed 7 years ago

walterdolce commented 9 years ago

Current documentation states that only Behat 3.0+ is required for BehatPageObjectExtension to work.

By following the bootstrap tutorial in the docs, user might be misled when launching Behat for the first time as she will probably end up receiving an exception by telling that a "non-existent parameter 'mink.parameter' " hasn't been specified.

Also as Behat/MinkExtension is an explicit dependency for BehatPageObjectExtension and as Behat/MinkExtension requires at least one driver in order to work, they should be added in the documentation to let users be able to use the extension straight away.

jakzal commented 9 years ago

Also as Behat/MinkExtension is an explicit dependency for BehatPageObjectExtension and as Behat/MinkExtension requires at least one driver in order to work, they should be added in the documentation to let users be able to use the extension straight away.

Indeed behat/mink-extension is a dependency of page objects extension and there's no need of adding it to your composer.json. I agree it's good to suggest a driver.

jakzal commented 7 years ago

Thank you @walterdolce. I finished this in #87.