LoginSignup
3
2

More than 5 years have passed since last update.

cucumber で 同時に別々のフォーマットで出力する方法

Posted at

意外とどこにも書いてなかった(ちゃんと調べてないともいう)ので自分用メモ。

cucumber --format rerun --out rerun.txt --format html --out result.html --format rerun

こんな感じで --formatを複数設定してあげると別々のフォーマットで出力される。
--format rerun --out rerun.txt で rerun用のファイル出力
--format html --out result.html で htmlでのファイル出力
--format rerun で コンソールに rerun結果を出力
ってかんじ。

これで rerun しながら、結果がグラフィカルに表示できるので便利。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2