robmasters/coding-kata-skeleton
Composer 安装命令:
composer create-project robmasters/coding-kata-skeleton
包简介
Skeleton project to give you a working directory setup for completing TDD exercises
README 文档
README
The purpose of this project is to provide a simple setup with the tools needed to start writing code using TDD (Test Driven Development). With practice, the aim is to be able to write good tests and end up with clean, working code. Remember
Instructions
Creating a project
Simply install the project from composer. If you don't have it, you should download it from here.
The directory that you install the project into should be based on the exercise that you wish to complete. e.g. "string-calculator".
composer create-project robmasters/coding-kata-skeleton [name-of-exercise] dev-master
Running tests
It is up to you which library you wish to use to write your tests. This project comes set up with PHPUnit and PhpSpec and an example test for each. To execute the tests, run either of the following from the root directory of your project:
$ ./vendor/bin/phpspec run
$ ./vendor/bin/phpunit
Exercises
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-07