-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
good first issueGood for newcomersGood for newcomerstype/featureNew user facing featuresNew user facing features
Description
Is your feature request related to a problem? Please describe.
A common debugging task when a test fails is to check the container logs, especially when running cluster tests where it's not feasible to just use a debugger. This is tedious to do manually in every test, and should be easy to have a small extension which does just that.
Describe the solution you'd like
Add a flag on all ZeebeNodes, e.g. withPrintLogsOnFailure(boolean), and implement TestLifecycleAware. On failure, if true, then dump all the container logs before it is removed.
Describe alternatives you've considered
Each user manually implements this in their own project, or using AfterEach callback in every suite.
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerstype/featureNew user facing featuresNew user facing features
Type
Projects
Status
π In Progress