ATM testui_error() in testui.elements.testui_element creates screenshot and includes full stacktrace for all errors but this behavior should be changeable. For this reason, function's signature has been updated to:
By default include_stacktrace and include_screenshot are True due to backward-compatibility but IMO it should be False since additional log verbosity usually is optional. This is up to maintainers to decide what is the default behavior 😉
Also updated example tests to remove the unnecessary wrapping class and updated .gitignore to exclude files as per this.
ATM
testui_error()
intestui.elements.testui_element
creates screenshot and includes full stacktrace for all errors but this behavior should be changeable. For this reason, function's signature has been updated to:By default
include_stacktrace
andinclude_screenshot
areTrue
due to backward-compatibility but IMO it should beFalse
since additional log verbosity usually is optional. This is up to maintainers to decide what is the default behavior 😉Also updated example tests to remove the unnecessary wrapping class and updated
.gitignore
to exclude files as per this.