contexts icon indicating copy to clipboard operation
contexts copied to clipboard

Debug failed tests in SystemContext

Open tophsic opened this issue 10 years ago • 1 comments

Do you think it is a good idea to display output if a test fail using SystemContext? I have trouble to debug un Travis build because I just have this log:

    Then command should succeed                                                   # Sanpi\Behatch\Context\SystemContext::commandShouldSucceed()
      exception 'Exception' with message 'Command should succeed 1' in vendor/behatch/contexts/src/Context/SystemContext.php:73

I can implement also a debug output action.

What do you think?

tophsic avatar Dec 01 '15 15:12 tophsic

Yes, it’s a good idea. This is already do for the rest contexts and it’s useful :smiley:

sanpii avatar Dec 01 '15 15:12 sanpii