2017-06-19 50 views
0

在我的.ini文件中我有舞動框架.ini文件使用

[behave] 
format=rerun 
outfiles=rerun_failing.features 

所以我想用「rerun_failing.features」文件,用於存儲失敗的情況。 但是,當我運行'--steps-catalog'命令時,它也將該目錄存儲到同一個文件中。這是爲什麼?

如何爲命令'--rerun'和'--steps-catalog'設置兩個單獨的文件?

謝謝!

回答

0

改爲使用behave --dry-run -f steps.catalog ...。 steps.catalog格式化程序的輸出寫入stdout,而不是「rerun-outputfile」。