#10 Add support to generate testcase names for parametrized test cases
Merged by spoore. Opened by mrniranjan.
mrniranjan/pytest-modifyjunit master  into  master

Download 10.patch

Fixes Issue: #8

Signed-off-by: Niranjan M.R mrniranjan@redhat.com

py.test test_0001 -s -v --junitxml=a.xml shows below output;

~~~~
test_0001.py::TestClass1::IDM-IPA-TC: Feature: verify abc user is able to login and all the groups user is member is shown in id command PASSED
test_0001.py::TestClass1::test_000018[2 users 3 runs]
test_0001.py::TestClass1::IDM-SSSD-TC: Feature: Test performance tests with 2 users 3 runs PASSED
test_0001.py::TestClass1::test_000018[3 users 2 runs]
test_0001.py::TestClass1::IDM-SSSD-TC: Feature: Test performance tests with 3 users 2 runs PASSED
test_0001.py::TestClass1::test_000019[3-8]
test_0001.py::TestClass1::Testing input is less than expected 3-8 PASSED
test_0001.py::TestClass1::test_000019[4-6]
test_0001.py::TestClass1::Testing input is less than expected 4-6 PASSED
~~~~

rebased onto 134daf017d4f8271d11592180afc20096abb03f1

Pull-Request has been merged by spoore

Metadata