-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Windows 10
piplist.txt
using Wing IDE to run tests causes error
ERROR: usage: --html=report.html [options] [file_or_dir] [file_or_dir] [...]
--html=report.html: error: unrecognized arguments: --verbose
inifile: None
rootdir:<ExitCode.USAGE_ERROR: 4>
i've found that it uses following pre-arguments
our_args=['-s', '-p', 'no:terminal']
then adds args user pass, so the resulting args may look like
finargs = ['-s', '-p', 'no:terminal', '--html=report.html', '--alluredir=allure-result', '--verbose', '--durations=1', '--numprocesses=1', '<suit_path>']
and execution code is
pytest.main(args=finargs)
which end with error
also i've found that removing '-p', 'no:terminal' solves the problem
and unfortunately there is no alternative for "-p" to use like --p=no:terminal