Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

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

Open
marckhouzam wants to merge 2 commits into
helm:mainfrom
VilledeMontreal:feat/debugComp
Open

Var ROBOT_DEBUG_COMPLETION to allow completion tests to print to console#59
marckhouzam wants to merge 2 commits into
helm:mainfrom
VilledeMontreal:feat/debugComp

Conversation

@marckhouzam

Copy link
Copy Markdown
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 <marc.khouzam@montreal.ca>
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 <marc.khouzam@montreal.ca>
@marckhouzam

Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants