{
"created": 1773935816.731533,
"duration": 0.12311553955078125,
"exitcode": 1,
"root": "/home/gabor/github/code-maven.com/python.code-maven.com",
"environment": {},
"summary": {
"passed": 1,
"failed": 1,
"skipped": 1,
"xpassed": 2,
"total": 5,
"collected": 5
},
"collectors": [
{
"nodeid": "",
"outcome": "passed",
"result": [
{
"nodeid": "books/python-testing/src/examples/pytest/reporting",
"type": "Dir"
}
]
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py",
"outcome": "passed",
"result": [
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_blue",
"type": "Function",
"lineno": 2
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_red",
"type": "Function",
"lineno": 5
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_purple",
"type": "Function",
"lineno": 8
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_orange",
"type": "Function",
"lineno": 12
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_green",
"type": "Function",
"lineno": 16
}
]
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting",
"outcome": "passed",
"result": [
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py",
"type": "Module"
}
]
}
],
"tests": [
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_blue",
"lineno": 2,
"outcome": "passed",
"keywords": [
"test_blue",
"test_colors.py",
"reporting",
"pytest",
"examples",
"src",
"python-testing",
"books",
"python.code-maven.com",
""
],
"setup": {
"duration": 0.0002916679950430989,
"outcome": "passed"
},
"call": {
"duration": 0.00021083600586280227,
"outcome": "passed"
},
"teardown": {
"duration": 0.00015628400433342904,
"outcome": "passed"
}
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_red",
"lineno": 5,
"outcome": "failed",
"keywords": [
"test_red",
"test_colors.py",
"reporting",
"pytest",
"examples",
"src",
"python-testing",
"books",
"python.code-maven.com",
""
],
"setup": {
"duration": 0.00014479199307970703,
"outcome": "passed"
},
"call": {
"duration": 0.00047524301044177264,
"outcome": "failed",
"crash": {
"path": "/home/gabor/github/code-maven.com/python.code-maven.com/books/python-testing/src/examples/pytest/reporting/test_colors.py",
"lineno": 7,
"message": "assert 1 == 2"
},
"traceback": [
{
"path": "test_colors.py",
"lineno": 7,
"message": "AssertionError"
}
],
"longrepr": "def test_red():\n> assert 1 == 2\nE assert 1 == 2\n\ntest_colors.py:7: AssertionError"
},
"teardown": {
"duration": 0.0003812770009972155,
"outcome": "passed"
}
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_purple",
"lineno": 8,
"outcome": "skipped",
"keywords": [
"test_purple",
"skip",
"pytestmark",
"test_colors.py",
"reporting",
"pytest",
"examples",
"src",
"python-testing",
"books",
"python.code-maven.com",
""
],
"setup": {
"duration": 0.00021005500457249582,
"outcome": "skipped",
"longrepr": "('/home/gabor/github/code-maven.com/python.code-maven.com/books/python-testing/src/examples/pytest/reporting/test_colors.py', 9, 'Skipped: So we can show skip reporting')"
},
"teardown": {
"duration": 0.0001474780001444742,
"outcome": "passed"
}
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_orange",
"lineno": 12,
"outcome": "xpassed",
"keywords": [
"test_orange",
"xfail",
"pytestmark",
"test_colors.py",
"reporting",
"pytest",
"examples",
"src",
"python-testing",
"books",
"python.code-maven.com",
""
],
"setup": {
"duration": 0.00017399700300302356,
"outcome": "passed"
},
"call": {
"duration": 0.0001693279918981716,
"outcome": "passed"
},
"teardown": {
"duration": 0.00013180699897930026,
"outcome": "passed"
}
},
{
"nodeid": "books/python-testing/src/examples/pytest/reporting/test_colors.py::test_green",
"lineno": 16,
"outcome": "xpassed",
"keywords": [
"test_green",
"xfail",
"pytestmark",
"test_colors.py",
"reporting",
"pytest",
"examples",
"src",
"python-testing",
"books",
"python.code-maven.com",
""
],
"setup": {
"duration": 0.00013885101361665875,
"outcome": "passed"
},
"call": {
"duration": 0.00016100300126709044,
"outcome": "passed"
},
"teardown": {
"duration": 0.00013386199134401977,
"outcome": "passed"
}
}
]
}