-
Notifications
You must be signed in to change notification settings - Fork 616
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
Don't write everything to stderr which breaks CI pipelines and scripts #3616
Comments
Hi @loxal
If this is a burden, I've hard time understanding why you're using it. There are plenty of alternatives, consider this tool as a free tool given freely to the community so there is no need to be harsh. That's said, Hurl is an HTTP client, one of the primary goal of the tool is to give you a HTTP response on standard output. For instance, you can test this file:
And get the response of https://bar.bin on standard output. We've followed these guidelines:
Standard output and error can use ANSI escape code (colored text) but usually color is disabled if standard stream are piped (you can use So, on CI, you can use Hurl exit code to know if the tests have succeeded or not. You can use HTML/JUnit/JSON/TAP reports (sometimes CI have facilities to display these kind or reports) for reporting also. |
Ok noted we'll see what we can do to improve your use case with TeamCity CI. |
On the console the tests are completed successfully and I get a nice concise output as you see above. For whatever reason you are writing this output to stderr instead of stdout as you can validate here, see below:
This breaks the CI pipelines and makes your tool a burden in every CI pipeline and in scripting.
The text was updated successfully, but these errors were encountered: