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
Open
Var ROBOT_DEBUG_COMPLETION to allow completion tests to print to console#59marckhouzam wants to merge 2 commits into
marckhouzam wants to merge 2 commits into
Conversation
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>
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. |
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.