pytest-reportlog
pytest-reportlog copied to clipboard
Replacement for the --resultlog option, focused in simplicity and extensibility
From reading through the documentation I didn't see support for printing the json data to stdout. It looks like it currently only supports writing to a file. Could we better...
Is any tool visualizing tests from JSON format compatible with the `pytest-reportlog` tool (e.g. as a static HTML page)? It would be nice to have one that could group test...
fixes #12 the caveat is that now we sometimes have magic json objects in the depth of a message to fix the details this also exposed a bug in warning...
This file: ```python def test_user_properties_list(record_property): record_property("hello", ["world", "mars"]) def test_user_properties_set(record_property): record_property("hello", {"world", "mars"}) ``` results in the following reports (pretty printed for readability): ```json { "nodeid": "test_replog.py::test_user_properties_list", "location": [ "test_replog.py",...
Is the format of the json-stream documented somewhere? I've tried to follow the code and it appears to be a serialization of a https://docs.pytest.org/en/7.1.x/reference.html#_pytest.reports.TestReport object (or any of the other...
I noticed that the size of the log file written by this plugin was 100MB+, and sections like "Captured stderr call" were included, even though I'd specified the `--report-log-exclude-logs-on-passed-tests` flag....
`pytest` has somewhat recently added support for coloring diffs of builtin structures like `list` or `dict`, which makes ANSI escape sequences appear in the messages `pytest-reportlog` writes to the log...