You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QUESTION: Is it possible to omit the traceback for the steps which use context.execute_steps() ?
Currently not, as you can see from the referenced implementation of behave.runner:Context.execute_steps().
A configuration point needs to be introduced to be able to configured the desired behaviour
(with tracebacks or without tracebacks). But even without tracebacks this would mean at least two lines in my opinion:
The assertion message (string from AssertionError) and the diagnostics in which dubstep the assertion failed.
In addition, it may be useful to switch on exception-tracebacks if the --verbose option is used.
Mhh but if the linked step has some other problems than the test errors, like some wrong code this error message is omited too if my code is used. Not smart, but fine for me ATM because this is not important for the user and I do know where to activate the error message print of the linked step.
RELATED TO: Discussion in #981
SEE ALSO:
The text was updated successfully, but these errors were encountered: