I am using following command to store report in given file in current directory.
python3 -m pytest test.py --json-report-file=report.json
It does not create any file. But when I run following command
python3 -m pytest test.py --json-report
It creates .report.json file in current directory.
I am using following command to store report in given file in current directory.
python3 -m pytest test.py --json-report-file=report.json
It does not create any file. But when I run following commandpython3 -m pytest test.py --json-report
It creates.report.json
file in current directory.