タグ

bddに関するat_homeのブックマーク (6)

  • Behat with Sauce Labs and Jenkins

    Note : This post may not work with recent Behat. Please use and my  Github repo for to get it working without any issue https://github.com/Shashikant86/BehatDemo Abstract: The key benefits of Behavior-Driven-Development (BDD) practices are communication enhancement and customer satisfaction. You can read more about that by Dan North and Gojko Adzic. Perhaps the biggest practical challenge in the w

    Behat with Sauce Labs and Jenkins
    at_home
    at_home 2012/11/27
    behat+JenkinsでBDDな方法
  • Welcome to the Mink documentation! — Mink 1.6 documentation

    Welcome to the Mink documentation!¶ One of the most important parts in the web is a browser. A browser is the window through which web users interact with web applications and other users. Users are always talking with web applications through browsers. So, in order to test that our web application behaves correctly, we need a way to simulate this interaction between the browser and the web applic

    at_home
    at_home 2012/11/22
    振舞の実装とアサーションがやはり面倒そうだな。PHPUnitのselenium2と組み込めると良いんだが。。
  • Quick Intro to Behat — Behat 2 documentation

    at_home
    at_home 2012/11/22
    使ってみたBehat。肝は要求仕様の記述になるってことかなぁ
  • Behat入門

    Behat is a behavior-driven development testing framework for PHP applications that is similar to Cucumber but uses Gherkin syntax. It allows developers to write tests in a business-readable domain-specific language called Gherkin that are then executed by Behat to validate expected program behaviors. The document shows how to add Japanese localization resources to Behat.Read less

    Behat入門
    at_home
    at_home 2012/11/21
    behat開発が止まっているように見えるけど気のせいかな?
  • PHPでBDD(Behavior Driven Development)する方法

    みなさんこんにちは。@ryuzeeです。 RubyであればRSpecやCucumberとか使って、むしろBDDしているケースの方が多いようですが、PHPでやっている事例はあまり聞きません。 とりあえずPHPでもBDDできることは確認できたので、その方法をご紹介します。 ※実戦投入にはもうちょっと検証は必要かもしれません。 BDDとは?BDDとはビヘイビア駆動開発(Behavior Driven Development)でテスト駆動開発から派生したものです。 テスト駆動開発とドメイン駆動設計を統合したようなイメージになります。 対象における「振る舞い」や「制約条件」の検証のために、自然言語的な記述でテストコードを記述します。 スペックファーストで仕様を作ってから実装するという流れになります(コードを書く前に振る舞いを決める)。 ということで、以下ではPHPでBDDを行う方法について解説してい

    PHPでBDD(Behavior Driven Development)する方法
    at_home
    at_home 2012/11/21
    Behatを使ってPHPで振舞駆動開発する方法。これ試してみようかな
  • ビヘイビア駆動開発 - Wikipedia

    ビヘイビア駆動開発(ビヘイビアくどうかいはつ、振舞駆動開発; behavior driven development; BDD)とは、プログラム開発手法の一種で、テスト駆動開発から派生した物である[1][2] 。 概要[編集] テスト駆動開発で記述されるテストケースは、作成したプログラムの動作が正しいかどうかを検証するために行う「テスト」である。テストであるという点は同一であるが、加えて、これから作成しようとするプログラムに期待される「振る舞い」や「制約条件」、つまり「要求仕様」に近い形で、自然言語を併記しながらテストコードを記述する。テストフレームワークのメソッド名も自然言語(英語など)に近い形をとっている。 テストコードの可読性があがる上、テストコードが要求仕様となりうる。要求仕様からテストコードを起こす際も、スムーズにコードに移行しやすい。 BDDではスペック(仕様)とテストは限りな

  • 1