Closed ivanli1990 closed 5 years ago
Thanks for raising. It's implemented but not released on PyPI yet. I'm going to take care of that ASAP.
I just published a new version to PyPI. Please note that some of the options have been renamed. You can now use --json-report-omit
with a space-separated list of sections to omit from the report. To suppress log captures, you can simply use --json-report-omit log
.
--json-report-no-logs arguments is not valid:
pytest -m 'qrcodeserver' --json-report --json-report-no-logs --json-report-file=report.json usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: unrecognized arguments: --json-report-no-logs inifile: /Users/ivanli/Documents/mt/fromGit/qa/pyrig/pytest.ini rootdir: /Users/ivanli/Documents/mt/fromGit/qa/pyrig