Closed Yadnyawalkya closed 5 years ago
This is intended behavior in CFME, only passed results and skips with blocker (GH issue, bugzilla number, etc.) are reported. If you want to report skip (blocked) result, make sure you have a "comment" column in your CSV file and the particular result has a comment that matches this regular expression - https://github.com/mkoura/dump2polarion/blob/master/dump2polarion/transform.py#L158-L162
Are you sure the fail result was really marked as failed in the CSV? Failed results are not reported unless there is a "FAILME" string in comment (see https://github.com/mkoura/dump2polarion/blob/master/dump2polarion/transform.py#L243)
The reason for importing only passed results and blocked results with existing blocker by default is that we don't want to have failures caused by networking, infrastructure, outdated tests etc. imported into polarion.
Thanks for explanation @mkoura, I did added Comment
section and checked but it did not matched mentioned regular expression thats why may be it wasn't uploaded. (I was writing something like infra not present
in Comments which was not correct)
And on FAILED verdicts, above was just an example, I always use FAILME there.
Let say we have exported following csv and added verdict PASSED, FAILED and BLOCKED.
With command,
polarion_dumper.py -i 'workitems.csv' -c ~/.config/polarion_tools.yaml
it only upload
PASSED
andFAILED
results and does not uploadBLOCKED
results.Import logs says,
Issue found in - dump2polarion v0.33 Expected - polarion_dumper.py should upload blocked testcases.