forceedge01 / behat-fail-aid

Get more out of your test suite by getting it to work with you when tests fail. Works with Goutte and MinkExtension (Selenium2Driver)
MIT License
28 stars 6 forks source link

Allow external information to be gathered #51

Open forceedge01 opened 4 years ago

forceedge01 commented 4 years ago

Similar to debug bar which receives a page object, a way to gather information on external components would be very useful. This is especially useful in cases where the page has not been served for reasons relating to external factors. Something like:

- FailAid\Extension:
    stateCallbacks:
      redis-status: RedisHandler::status

This should be decoupled from all other logic and even if everything else fails to be gathered this information should be visible on failure.