Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
[B! cucumber][rspec] t-wadaのブックマーク
[go: Go Back, main page]

タグ

cucumberとrspecに関するt-wadaのブックマーク (2)

  • Turnip のテストレポートを見やすくしてみた - CrowdWorks Engineer Blog

    Turnipのステップ実行毎にスクリーンショット(以下SS)とレンダリングされたhtmlを記録するFormatter、CapturefulFormatterを作りました。 記事では、簡単な使い方の紹介と、どのようにステップを記録しているかについて記していきます。 背景 Ruby on Railsでの受け入れテストと言えばCucumberが著名ですが、ステップ定義にて正規表現を用いる点や、RSpecとの二立てとなっている点などが課題となっていました。 この2点を解決すべく生まれたのがTurnipです。Turnipの詳しい説明はるびま42号のTurnip解説記事が詳しいので割愛します。 しかし、Turnip では、テストレポートもRSpecのものを使うため、特にステップの失敗時のエラーメッセージがかなりわかりにくくなってしまいました。 下記に例を示します。とある画面にボタンが描画されていな

    Turnip のテストレポートを見やすくしてみた - CrowdWorks Engineer Blog
    t-wada
    t-wada 2014/10/27
    良さがある。作業の結果だけでなく拡張に際する思考過程が書かれているのもいいな。
  • DHH Offended By RSpec, Says Test::Unit Is Just Great

    Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news. As an outspoken and opinionated guy, David Heinemeier Hansson (a.k.a. DHH), creator of Rails, is no stranger to a little bit of controversy. He frequently sets off interesting debates on Twitter from his @dhh account. The latest is, perhaps, the most involved yet and has been rattling on for a couple of hours today. So wha

    t-wada
    t-wada 2011/03/30
    RSpec と Cucumber を混ぜて議論してはいけないと思うな
  • 1