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 23:24:02 +0000 (16:24 -0700)
commit0b6f58fa5007c7b84d970402fd6dc83e5eb4a0b0
tree5e2574ec1a20d1cc6605b4748e741bf2404d38bf
parent09ee5b5bf79568b46de9510dd2188c4866fb1844
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