2017 © Pedro Peláez
 

library fixtures

manage testing fixtures

image

yaodong/fixtures

manage testing fixtures

  • Wednesday, August 26, 2015
  • by yaodong
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP Fixtures

Build Status, (*1)

This package is inspired by Rails., (*2)

Fixtures

Fixtures are a way of organizing data that you want to test against., (*3)

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:, (*4)

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., (*5)

The Versions

26/08 2015

dev-develop

dev-develop

manage testing fixtures

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yaodong Zhao

19/08 2015

dev-master

9999999-dev

manage testing fixtures

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yaodong Zhao