1、點(diǎn)擊工具條中Run,選擇Edit Configurations,彈出運(yùn)行配置對(duì)話框;

image

image
2、在左側(cè)選擇要設(shè)置運(yùn)行的test,在左側(cè)選擇Configuration的Listeners項(xiàng),如下圖:

image
3、將Listeners中的use Default reporters前的選擇框打上對(duì)號(hào),然后點(diǎn)擊ok;

image
4、重新運(yùn)行test,就會(huì)生產(chǎn)test-output文件了。