タグ

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

タグの絞り込みを解除

RBehaveに関するNobiNobiKotaのブックマーク (2)

  • Introducing rbehave

    rbehave is a framework for defining and executing application requirements. Using the vocabulary of behaviour-driven development, you define a feature in terms of a Story with Scenarios that describe how the feature behaves. Using a minimum of syntax (a few “quotes” mostly), this becomes an executable and self-describing requirements document. BDD has been around in the Ruby world for a while now,

  • 最近の RSpec 情勢 - moroの日記

    よしみさんの http://d.hatena.ne.jp/walf443/20070324/1174702913 の記事の補足。 最近のバージョンでは Matchers を自分で追加して should のあとに書ける語を増やします。というかそれを実現するために should とそれを受けるプロキシに分離し、あの賛否が分かれる文型になったわけです。わたしゃいい加減なれてきましたが、確かに前の方が好きだったという思いは消えません:p。 カスタム Matchers の作り方 で、こちらを見るとカスタム Matchers の作り方が解説してあります。 http://rspec.rubyforge.org/rdoc/classes/Spec/Matchers.html 重要なところを(文が通るように加工した上で)コピペすると、こんな感じになります。 module CustomGameMather c

    最近の RSpec 情勢 - moroの日記
  • 1