LoginSignup
0
2

More than 3 years have passed since last update.

flutterあるいはdart(pub)でテストを自動的に再実行させる方法

Last updated at Posted at 2019-09-28

JSにおけるjestのwatch mode、Railsにおけるguardのようなものがなさそうに見えたのでとりあえずの対応方法を残しておきます。見落としてるかもしれないので、知っている方いたら教えて下さい。

watchのインストール

$ npm i -g watch

再起動してコマンド反映

$ exec $SHELL -l

flutterの場合

$ watch "flutter test" lib test

pubの場合

$ watch "pub run test" lib test

watchのオプションとかはこちらを見てください

参考

0
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
0
2