You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using newman with the JUnit reporter, it seems that the name for every test is the name of the collection as setup in Postman. This is wrong, as it should reflect the ACTUAL test we're running.
For instance for this file:
"info": {
"_postman_id": "123",
"name": "A test for JUnit reports API",
},
"item": [
{
"name": "Contract and Integration Tests",
"item": [
{
"name": "Execute an awesome test",
"event": []
},
{
"name": "Execute another test",
"event": []
}
]
}
]
}
Expected
I would expect the JUnit report to output TWO tests on the report:
Contract and Integration Tests > Execute an awesome test
Contract and Integration Tests > Execute another test
Current situation
Instead, I get this:
I would expect the JUnit report to output TWO tests on the report:
Issue
When using newman with the JUnit reporter, it seems that the name for every test is the
name
of the collection as setup in Postman. This is wrong, as it should reflect the ACTUAL test we're running.For instance for this file:
Expected
I would expect the JUnit report to output TWO tests on the report:
Current situation
Instead, I get this:
I would expect the JUnit report to output TWO tests on the report:
According to xmlbuilder-js CHANGELOG, they
I'll create a PR to fix this.
The text was updated successfully, but these errors were encountered: