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

failure count is not increasing in junitfull report #5

Open
shwethaknhpe opened this issue May 31, 2023 · 1 comment
Open

failure count is not increasing in junitfull report #5

shwethaknhpe opened this issue May 31, 2023 · 1 comment

Comments

@shwethaknhpe
Copy link

shwethaknhpe commented May 31, 2023

Hi, i am getting junitfull report. but failure count is not increased as we have failure tag inside testcase.
Issue:

<testsuite id="2" hostname="https://hpe-cep--dcedevpiu..com" package="" name="dce-contacts/search/" tests="1" failures="0" errors="0" timestamp="2023-05-31T13:31:10.539" time="1.740">
<properties>
<property name="instance_url" value="https://hpe-cep--dcedevpiu.com"/>
<property name="nimbleToken" value=""/>
<property name="access_token" value=""/>
</properties>
<testcase classname=" / dce-contacts/search/" name="All Onboarded Email id Check (record,status,error code,record count):" time="1.740">
<failure type="AssertionError" message="expected 200 to deeply equal 201">
<![CDATA[ AssertionError: expected 200 to deeply equal 201 at Object.eval sandbox-script.js:1:3) ]]>
</failure>
</testcase>
</testsuite>

here <failure> tag is present inside <testcase> tag, but under <testsuite> tag "failures" count is showing as 0.
Expected: failures count should increase and show number of failed test cases.
Any suggestion on this issue??

@driekus77
Copy link

Same for me! Our Pipelines in Azure are always Green because of this...(?)

driekus77 added a commit to driekus77/newman-reporter-junitfull that referenced this issue Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants