エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
改良版: autotestでall_good時にrerun_all_testsをしないようにする - Hello, world! - s21g
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
改良版: autotestでall_good時にrerun_all_testsをしないようにする - Hello, world! - s21g
autotestでall_good時にrerun_all_testsをしないようにする の改良版です。 handle_resultsメソッドの実... autotestでall_good時にrerun_all_testsをしないようにする の改良版です。 handle_resultsメソッドの実装の変化を、 なるべく吸収できるような書き方に変えました。 ~/.autotestに書いておくと良いかもしれません。 1 class Autotest 2 alias_method :handle_results_old, :handle_results 3 undef_method :handle_results 4 5 def handle_results(*args, &block) 6 handle_results_old(*args, &block) 7 self.tainted = !self.files_to_test.empty? 8 end 9 end