タグ

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

  • 関連タグはありません

タグの絞り込みを解除

phpとPHPとBDDに関するrestartrのブックマーク (6)

  • Choose Opera - Spreading Opera goodness - Posts tagged by "Opera Tips".

    Desktop Opera One updates with new webpage Translator and improved Split Screen July 3rd, 2025 We're introducing a new built-in webpage translator to Opera One following your requests. We're also adding improvements to Split Screen. Mindfulness, Opera Air Opera Air’s redesigned Boosts now smoother, more intuitive June 4th, 2025 Hey all, Today we have another update for Opera Air, our browser built

  • 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)する方法
  • Behat - BDD in PHP

    install basics feature step env cli Behavior driven development for PHP 1. Describe behavior in Feature file 2. Create testing object definition 3. Write a step definition in PHP 4. Run and watch it fail 5. Write code to make the step pass 6. Run again and see the step pass Synopsis Behat is an open source behavior driven development framework for php 5.3. Behat was inspired by Ruby's Cucumber pro

    restartr
    restartr 2010/09/16
    php5.3.1+で動作するBDDライブラリ。Cucumber@rubyに影響受けている。
  • PHPSpec - Behaviour-Driven Development (BDD) for PHP

    PHPSpec Home  |  Manual  |  Download  |  Mailing List  |  Source PHPSpec is a Behaviour-Driven Development (BDD) framework for PHP PHPSpec allows you to write executable examples reflecting specifications of the desired behaviour of the source code being described. PHPSpec is a simple framework. As the description suggests you can write code examples which are repeatable. This means you write an e

  • PHPSpec リファレンスマニュアル

    This work is licensed under the Creative Commons Attribution 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

  • PHPSpecでユニットテスト

    こんにちは、牧野です。 今回は、PHPでユニットテストを行う際に便利なユニットテスト用フレームワーク、PHPSpecの紹介です。 PHPSpecは、phpで振舞駆動開発ができるようにと作られたものです。 PHPSpecの詳細はこちら http://dev.phpspec.org/manual/ja/ 日語マニュアルが大変充実しています。 振舞駆動開発について簡単に説明すると、テストありきの開発手法であるテスト駆動開発を発展させたような開発手法で、このプログラムはこんな動作をするべきだ、という要求仕様(スペック)を、そのままテストコードとして記述しながら開発を進めていく、という感じのものです。PHPSpecのような振舞駆動開発用フレームワークでは、要求仕様がすぐわかるようなテストコードの書き方をするようになっているので開発効率が上がるようです。 ではさっそく、まずはインストールについてです

    PHPSpecでユニットテスト
  • 1