タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

programmingとRubyとTestに関するdiveintounlimitのブックマーク (2)

  • Railsアプリケーションにおけるエラー処理(例外処理)の考え方 - Qiita

    Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? はじめに Railsアプリケーションを格的に作り込んでいくと、「エラー」とは無縁ではいられません。 しょうもないバグでエラーが発生することもありますし、ほとんど不可抗力ともいえるような大規模なネットワーク障害でエラーが発生することもあります。 エラーの種類がなんであれ、エラーが起きた場合は「原因を素早く特定し、速やかに復旧させること」と「あるエラーが引き金になって、さらに大きなエラーに引き起こさないようにすること」が重要です。 エラー処理を適切に実装していれば、原因の特定や復旧もすばやくできますし、さらに大きなエラーを引き起こす可能性

    Railsアプリケーションにおけるエラー処理(例外処理)の考え方 - Qiita
    diveintounlimit
    diveintounlimit 2015/09/30
    これは良いものだ。
  • RSpec: Overview

    Take very small stepsDon’t rush ahead with more code. Instead, add another example and let it guide you to what you have to do next. And don’t forget to take time to refactor your code before it gets messy. You should keep your code clean at every step of the way. View Documentation The BookEffective Testing with RSpec 3: Build Ruby Apps with ConfidenceThis definitive guide from RSpec’s lead devel

    RSpec: Overview
    diveintounlimit
    diveintounlimit 2013/02/07
    うーん、Rails付属のテスティングフレームワークで良さそうな。
  • 1