Companies like yours create meaningful solutions with thoughtbot Whether you’re starting from an initial idea or have spent decades running a business, thoughtbot has the experience to help you create successful outcomes for your product.
![thoughtbot case studies featuring design and development projects for websites, mobile and web applications.](https://cdn-ak-scissors.b.st-hatena.com/image/square/fa7afa5204114ddcb7a7881e324f39272bb9f259/height=288;version=1;width=512/https%3A%2F%2Fthoughtbot.com%2Fsocial%2Fsocial-media-banner-generic.png)
In many ways, testing software is like going out and getting exercise. You know you should do it, and you know it does you good, but it's also pretty easy to find an excuse to skip it (I'll make it up tomorrow). So anything that makes testing easier is good, because it cuts down on the excuses not to do it. One thing I've never really liked about the conventional xUnit-style testing frameworks wa
RailsでBDDと言ったらRSpecが圧倒的にポピュラーですね。でもRSpecに馴染めないという人はいませんか?私はx.should == yという書き方からKernelを拡張する実装まで、何もかも独自路線でいく個性の強さについていけません。 しかし同時にTest::Unitの垢抜けなさにもうんざりしていて、何かいいフレームワークはないかと思っていた時にShouldaに出会いました。contextを入れ子にできる柔軟性や、既存のTest::Unitインスタンスの中に書けるとっつきやすさはとても魅力的に見えました。そしてその日からShouldaでテストを書き始めました。 このエントリでは、Shouldaを中心にヘルパーやMochaを使った気持ちのいい開発手法を紹介します。 Shouldaは柔軟でとっつきやすい RSpecの最大の魅力はその書き方にあると思います。しかしその書き方を利用するた
http://thoughtbot.com/projects/shoulda RSpecよりお手軽そうなshouldaを自宅のPCにいんすとろーるしてみる。 rails以外で使う場合にはgemでインストールが出来る模様 (`〜´)タリー sudo gem install shoulda [~/] Need to update 1 gems from http://gems.rubyforge.org . complete Successfully installed Shoulda-1.0.0 Installing ri documentation for Shoulda-1.0.0... Installing RDoc documentation for Shoulda-1.0.0... うん、お手軽お手軽。 んじゃ、railsで使う場合はこのまま使えるかというとそうでもない。 Acti
Shoulda(もっと早く使っていれば)by 達人プログラマ。Rubyのテストには、RSpecもいいけど、Shouldaが良いよ。 Rubyのテストには、RSpecもいいけど、Shouldaが良いよ。ってことで、 達人プログラマのDavid ThomasがShouldaを分かりやすく紹介してくれていたので、仮訳してみたよ。 (翻訳・公開することを快く承諾してくれました。) 英語が苦手なので間違いもあると思います。指摘してくれると嬉しいです。 オリジナルの記事:Shoulda used this earlier —– ここから —– Shoulda(もっと早く使っていれば) 色んな意味で、ソフトウェアをテストすることは、外に出て運動をすることに似ている。しなきゃいけないことは分かってるし、運動は自分を良い状態にしてくれるのは分かってるんだけど、それをやらない言い訳を考えるのもすごく簡単だ(
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く