-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.report.json
More file actions
1 lines (1 loc) · 7.17 KB
/
.report.json
File metadata and controls
1 lines (1 loc) · 7.17 KB
1
{"created": 1746605810.933606, "duration": 0.19222760200500488, "exitcode": 1, "root": "E:\\suli\\szakdoga\\sampleprogram", "environment": {}, "summary": {"failed": 1, "passed": 12, "total": 13, "collected": 13}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": "tests", "type": "Package"}]}, {"nodeid": "tests/test_calculator.py", "outcome": "passed", "result": [{"nodeid": "tests/test_calculator.py::test_calculator", "type": "Function", "lineno": 1}, {"nodeid": "tests/test_calculator.py::test_add", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_calculator.py::test_square", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_calculator.py::test_add_two_two", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_calculator.py::test_multiply_zero_zero", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_calculator.py::test_multiply_zero_six", "type": "Function", "lineno": 24}, {"nodeid": "tests/test_calculator.py::test_multiply_zero_seven", "type": "Function", "lineno": 28}]}, {"nodeid": "tests/test_main.py", "outcome": "passed", "result": [{"nodeid": "tests/test_main.py::test_product_creation", "type": "Function", "lineno": 3}, {"nodeid": "tests/test_main.py::test_cart_add_product", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_main.py::test_cart_get_total_price", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_main.py::test_checkout_calculate_total", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_main.py::test_checkout_process_payment", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_main.py::test_checkout_apply_special_offers", "type": "Function", "lineno": 44}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_calculator.py", "type": "Module"}, {"nodeid": "tests/test_main.py", "type": "Module"}]}], "tests": [{"nodeid": "tests/test_calculator.py::test_calculator", "lineno": 1, "outcome": "failed", "keywords": ["test_calculator", "test_calculator.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0012311000027693808, "outcome": "passed"}, "call": {"duration": 0.02003780000086408, "outcome": "failed", "crash": {"path": "E:\\suli\\szakdoga\\sampleprogram\\tests\\test_calculator.py", "lineno": 6, "message": "assert (2 + 4) == 8"}, "traceback": [{"path": "tests\\test_calculator.py", "lineno": 6, "message": "AssertionError"}], "longrepr": "def test_calculator():\n calc = Calculator()\n a = calc.add(1,1)\n b = calc.multiply(a,3)\n> assert a + b == 8\nE assert (2 + 4) == 8\n\ntests\\test_calculator.py:6: AssertionError"}, "teardown": {"duration": 0.0005151000077603385, "outcome": "passed"}}, {"nodeid": "tests/test_calculator.py::test_add", "lineno": 7, "outcome": "passed", "keywords": ["test_add", "test_calculator.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0004243000003043562, "outcome": "passed"}, "call": {"duration": 0.00214830000186339, "outcome": "passed"}, "teardown": {"duration": 0.00041819999751169235, "outcome": "passed"}}, {"nodeid": "tests/test_calculator.py::test_square", "lineno": 13, "outcome": "passed", "keywords": ["test_square", "test_calculator.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0004017000028397888, "outcome": "passed"}, "call": {"duration": 0.0019844000053126365, "outcome": "passed"}, "teardown": {"duration": 0.00036800000816583633, "outcome": "passed"}}, {"nodeid": "tests/test_calculator.py::test_add_two_two", "lineno": 16, "outcome": "passed", "keywords": ["test_add_two_two", "test_calculator.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0003823000006377697, "outcome": "passed"}, "call": {"duration": 0.0017785999953048304, "outcome": "passed"}, "teardown": {"duration": 0.0004624000139301643, "outcome": "passed"}}, {"nodeid": "tests/test_calculator.py::test_multiply_zero_zero", "lineno": 20, "outcome": "passed", "keywords": ["test_multiply_zero_zero", "test_calculator.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0003943999909097329, "outcome": "passed"}, "call": {"duration": 0.001872900000307709, "outcome": "passed"}, "teardown": {"duration": 0.00037429999792948365, "outcome": "passed"}}, {"nodeid": "tests/test_calculator.py::test_multiply_zero_six", "lineno": 24, "outcome": "passed", "keywords": ["test_multiply_zero_six", "test_calculator.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0003870999935315922, "outcome": "passed"}, "call": {"duration": 0.0018119000014849007, "outcome": "passed"}, "teardown": {"duration": 0.00036160000308882445, "outcome": "passed"}}, {"nodeid": "tests/test_calculator.py::test_multiply_zero_seven", "lineno": 28, "outcome": "passed", "keywords": ["test_multiply_zero_seven", "test_calculator.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0003856999974232167, "outcome": "passed"}, "call": {"duration": 0.001782799998181872, "outcome": "passed"}, "teardown": {"duration": 0.0003723999980138615, "outcome": "passed"}}, {"nodeid": "tests/test_main.py::test_product_creation", "lineno": 3, "outcome": "passed", "keywords": ["test_product_creation", "test_main.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.00039939999987836927, "outcome": "passed"}, "call": {"duration": 0.00180460000410676, "outcome": "passed"}, "teardown": {"duration": 0.00035379998735152185, "outcome": "passed"}}, {"nodeid": "tests/test_main.py::test_cart_add_product", "lineno": 9, "outcome": "passed", "keywords": ["test_cart_add_product", "test_main.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.000632499999483116, "outcome": "passed"}, "call": {"duration": 0.002147899998817593, "outcome": "passed"}, "teardown": {"duration": 0.0003856999974232167, "outcome": "passed"}}, {"nodeid": "tests/test_main.py::test_cart_get_total_price", "lineno": 20, "outcome": "passed", "keywords": ["test_cart_get_total_price", "test_main.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.0003834999952232465, "outcome": "passed"}, "call": {"duration": 0.0018108000076608732, "outcome": "passed"}, "teardown": {"duration": 0.0003549999964889139, "outcome": "passed"}}, {"nodeid": "tests/test_main.py::test_checkout_calculate_total", "lineno": 27, "outcome": "passed", "keywords": ["test_checkout_calculate_total", "test_main.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.00037059999885968864, "outcome": "passed"}, "call": {"duration": 0.001835099988966249, "outcome": "passed"}, "teardown": {"duration": 0.0003728000010596588, "outcome": "passed"}}, {"nodeid": "tests/test_main.py::test_checkout_process_payment", "lineno": 35, "outcome": "passed", "keywords": ["test_checkout_process_payment", "test_main.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.00038779999886173755, "outcome": "passed"}, "call": {"duration": 0.001861199998529628, "outcome": "passed"}, "teardown": {"duration": 0.00037539999175351113, "outcome": "passed"}}, {"nodeid": "tests/test_main.py::test_checkout_apply_special_offers", "lineno": 44, "outcome": "passed", "keywords": ["test_checkout_apply_special_offers", "test_main.py", "tests", "sampleprogram", ""], "setup": {"duration": 0.00039089999336283654, "outcome": "passed"}, "call": {"duration": 0.0018220000056317076, "outcome": "passed"}, "teardown": {"duration": 0.0003767000016523525, "outcome": "passed"}}]}