diff --git a/bddtests/steps/peer_cli_impl.py b/bddtests/steps/peer_cli_impl.py index 355735509a9..c31a92e08cd 100644 --- a/bddtests/steps/peer_cli_impl.py +++ b/bddtests/steps/peer_cli_impl.py @@ -21,7 +21,11 @@ @when(u'I execute "{command}" in container {containerName}') def step_impl(context, command, containerName): + print("Run command: \"{0}\" in container {1}".format(command, containerName)) executeCommandInContainer(context, command, containerName) + print("stdout: {0}".format(context.command["stdout"])) + print("stderr: {0}".format(context.command["stderr"])) + print("returnCode: {0}".format(context.command["returnCode"])) def executeCommandInContainer(context, command, container): fullContainerName = fullNameFromContainerNamePart(container, context.compose_containers)