Skip to content

tddbc/php_phpspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDDBC for PHP with PhpSpec

これは、TDDBCのPHP向けPhpSpecプロジェクトです。

動作環境

セットアップ

windows 以外の場合

$ curl -sS https://getcomposer.org/installer | php
$ composer.phar install

./bin/phpspecを実行して

$ ./bin/phpspec run

    Acme\Sample

    10 ✔ is initializable
    15 ✔ said formats hello name


2 examples (2 passed)
6ms

のようにテストが正常終了すればOKです。

windowsの場合

> curl -sS https://getcomposer.org/installer | php
> php composer.phar install

もしcurlがhttpsのエラーになる場合は該当urlの内容をcomposer.pharという名のファイルに保存後 コマンド php composer.phar install を実行してください。

.\bin\phpspecを実行して

> .\bin\phpspec run

    Acme\Sample

    10 ✔ is initializable
    15 ✔ said formats hello name


2 examples (2 passed)
6ms

のようにテストが正常終了すればOKです。

ライセンス

MIT ライセンスです (詳しくはプロジェクト直下の LICENSE をご覧ください)

About

skeleton for php users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages