Provide a RoR-like test fixture helper
authorAdam Roses Wight <awight@wikimedia.org>
Thu, 1 May 2014 17:31:30 +0000 (10:31 -0700)
committerAdam Roses Wight <awight@wikimedia.org>
Thu, 1 May 2014 19:54:56 +0000 (12:54 -0700)
commitcab5f34b1aacdb8bbaa2de847a21df35021364ea
tree133f14679cf38cb01659394900be1b0f3951f1ad
parent0d0919c531fa34f2e66c0e8c48ebeb733dfa43df
Provide a RoR-like test fixture helper

Any unit test may call $this->loadAllFixtures() from the setUp() routine,
and that will load all fixtures from the civicrm/tests/fixtures directory.

Fixtures can be written using the legacy XML format, or using YAML.
tests/fixtures/case.yaml [new file with mode: 0644]
tests/fixtures/case_contact.yaml [new file with mode: 0644]
tests/fixtures/case_relationships.yaml [new file with mode: 0644]
tests/fixtures/case_types.yaml [new file with mode: 0644]
tests/fixtures/contacts.yaml [new file with mode: 0644]
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/CaseTest.php