FriendsOfBehat/SymfonyExtension

It is not possible to suppress errors

hulkthedev opened this issue · 0 comments

Hello, everyone,
it's everytime pain in my A.... to set up behat properly.
Everything is in the root, everything throws errors, everything has to be adjusted.

Supressing errors not possible...

define('BEHAT_ERROR_REPORTING', E_ERROR | E_WARNING | E_PARSE)
result in
Warning: Constant BEHAT_ERROR_REPORTING already defined

error_reporting in behat.yml have no effect, no matter where written

  • defaults>calls>error_reporting
  • defaults>suites>calls>error_reporting
  • defaults>suites>default>calls>error_reporting

If i start behat tests, the entire env runs as dev, not as test. Why? Where to change?