Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Var ROBOT_DEBUG_COMPLETION to allow completion tests to print to console #59

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marckhouzam
Copy link
Member

ROBOT only gives the tester access to the logs at the very end of the test run. When developping, this can be annoying. This change, admittedly a hack, allows to debug the completion tests more easily, by running them outside of ROBOT.

We use the --tls flag to distinguish between helm3 and helm2.

Signed-off-by: Marc Khouzam <[email protected]>
ROBOT only gives the tester access to the logs at the very end of the
test run.  When developping, this can be annoying.  This change,
admittedly a hack, allows to debug the completion tests more easily,
by running them outside of ROBOT.

Signed-off-by: Marc Khouzam <[email protected]>
@marckhouzam
Copy link
Member Author

Hi @jdolitsky. Would you have any better idea on how to ease development using ROBOT? I find it very limiting that the logs only become available at the very end of the test run.

This PR hacks a debug variable for the completion tests to run them outside ROBOT so that I can see the logs printed live. I'd love a more elegant solution if there is one, but I couldn't find any easy way to have ROBOT print its logs live.

@jdolitsky
Copy link
Collaborator

@marckhouzam im not sure - my only thing i would recommend is to make the individual shell tests more closely part of robot vs. just running the script you've put together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants