yaodong/fixtures
Composer 安装命令:
composer require yaodong/fixtures
包简介
manage testing fixtures
README 文档
README
This package is inspired by Rails.
Fixtures
Fixtures are a way of organizing data that you want to test against.
They are stored in YAML files, one file per model, which are placed in the directory you want. The fixture file ends with the .yml file extension (Rails example: /test/fixtures/web_sites.yml). The format of a fixture file looks like this:
eric:
name: Eric Roston
email: eric@example.com
jane:
name: Jane Hunter
email: jane@example.com
This fixture file includes two fixtures. Each YAML fixture (ie. record) is given a name and is followed by an indented list of key/value pairs in the "key: value" format. Records are separated by a blank line for your viewing pleasure. Note that fixtures are unordered.
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-10