Closed
Description
Originally reported by: Andrei Baidarov (BitBucket: tIGO, GitHub: tIGO)
If test param contains '::' junitxml parses report.nodeid incorrectly. For example, for test
#!python
import pytest
@pytest.mark.parametrize('foo', ['1::2'])
def testA(foo):
assert True
py.test --junitxml=1 test.py produces xml with classname="test.testA[1" and name="2]" instead of classname="test" and name="testA[1::2]".