We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a file is properly linted, the tested (and passing) file should still be shown/included.
<?xml version='1.0' encoding='UTF-8'?> <checkstyle version='4.3'> </checkstyle>
This is also important, and becomes an issue, when converting it to junit using an xslt, which then produces:
<?xml version="1.0" encoding="UTF-8"?> <testsuite tests="0" failures="0"/>
which obviously is incorrect, as we pretend we ran zero tests, but we did run tests.
Comparing this to for example shellcheck's output, we see
<checkstyle version="4.3"> <file name="/builds/.../test/pass.sh"> </file> </checkstyle>
Which then converts to
<testsuite tests="1" failures="0"> <testcase classname="/builds/.../test/pass.sh" name="/builds/.../pass.sh"> </testcase> </testsuite>
Note that the number of tests.
hadolint --format=checkstyle Dockerfile
Haskell Dockerfile Linter 2.12.1
Dockerfile (if relevant)
FROM scratch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
When a file is properly linted, the tested (and passing) file should still be shown/included.
This is also important, and becomes an issue, when converting it to junit using an xslt, which then produces:
which obviously is incorrect, as we pretend we ran zero tests, but we did run tests.
Actual behavior
Comparing this to for example shellcheck's output, we see
Which then converts to
Note that the number of tests.
Steps to reproduce the behavior
hadolint --format=checkstyle Dockerfile
Dockerfile (if relevant)
FROM scratch
The text was updated successfully, but these errors were encountered: