エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
ファイル名が特定のパターンにマッチする spec を実行するスクリプト - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
ファイル名が特定のパターンにマッチする spec を実行するスクリプト - Qiita
#!/bin/sh specs=$(find spec -type f -name "*_spec.rb" | grep $@) if [ $? -ne 0 ] then echo "spec ... #!/bin/sh specs=$(find spec -type f -name "*_spec.rb" | grep $@) if [ $? -ne 0 ] then echo "spec not found" exit 1 fi echo $specs rspec $specs $ fspec user spec/controllers/users_controller_spec.rb spec/models/user_spec.rb spec/routing/user_routing_spec.rb spec/views/users/edit.html.haml_spec.rb spec/views1/users/index.html.haml_spec.rb spec/views1/users/new.html.haml_spec.rb spec/views1/users/sho