pytest default config.option

option = {Namespace} Namespace(assertmode='rewrite', basetemp=None, cacheclear=False, cacheshow=False, capture='no', collect_in_virtualenv=False, collectonly=False, color='auto', confcutdir=None, continue_on_collection_errors=False, debug=False, deselect=None, disable_warnings
assertmode = {str} 'rewrite'
basetemp = {NoneType} None
cacheclear = {bool} False
cacheshow = {bool} False
capture = {str} 'no'
collect_in_virtualenv = {bool} False
collectonly = {bool} False
color = {str} 'auto'
confcutdir = {NoneType} None
continue_on_collection_errors = {bool} False
debug = {bool} False
deselect = {NoneType} None
disable_warnings = {bool} False
doctest_continue_on_failure = {bool} False
doctest_ignore_import_errors = {bool} False
doctestglob = {list} <type 'list'>: []
doctestmodules = {bool} False
doctestreport = {str} 'udiff'
durations = {NoneType} None
failedfirst = {bool} False
file_or_dir = {list} <type 'list'>: []
fulltrace = {bool} False
help = {bool} False
ignore = {NoneType} None
importmode = {str} 'prepend'
inifilename = {NoneType} None
junitprefix = {NoneType} None
keepduplicates = {bool} False
keyword = {str} ''
last_failed_no_failures = {str} 'all'
lf = {bool} False                # this is --lf
log_cli_date_format = {NoneType} None
log_cli_format = {NoneType} None
log_cli_level = {NoneType} None
log_date_format = {NoneType} None
log_file = {NoneType} None
log_file_date_format = {NoneType} None
log_file_format = {NoneType} None
log_file_level = {NoneType} None
log_format = {NoneType} None
log_level = {NoneType} None
log_print = {NoneType} None
markers = {bool} False
markexpr = {str} ''
maxfail = {int} 0
newfirst = {bool} False
noconftest = {bool} False
override_ini = {NoneType} None
pastebin = {NoneType} None
plugins = {list} <type 'list'>: []
pyargs = {bool} False
pythonwarnings = {NoneType} None
reportchars = {str} ''
resultlog = {NoneType} None
rootdir = {NoneType} None
runxfail = {bool} False
setuponly = {bool} False
setupplan = {bool} False
setupshow = {bool} False
show_fixtures_per_test = {bool} False
showcapture = {str} 'all'
showfixtures = {bool} False
showlocals = {bool} False
stepwise = {bool} False
stepwise_skip = {bool} False
strict = {bool} False
tbstyle = {str} 'auto'
trace = {bool} False
traceconfig = {bool} False
usepdb = {bool} False
usepdb_cls = {NoneType} None
verbose = {int} 1
version = {bool} False
xmlpath = {NoneType} None       # corresponded to --junit-xml option from command line

猜你喜欢

转载自www.cnblogs.com/xiaoyanxuzi/p/10510722.html
今日推荐