Sunday, February 1. 2009YAML Now Supported by PHPUnit Database ExtensionTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I browsed phpunit's trac a bit and looks like it is not commited properly. You reference PHPUnit/Util/YAML/sfYaml.class.php file, but it is not in the tree…
Check the bottom of this page and you'll see the external:
http://www.phpunit.de/browser/phpunit/trunk/PHPUnit/Util
Can you give an example of how to use it? I've looked around in the API documentation but I didn't see a PHPUnit_Extensions_Database_DataSet_YamlDataSet or anything similar.
Thanks!
Can't anybody update documentation?
Database extension has no info about this at all. http://www.phpunit.de/manual/3.4/en/database.html#database.operations
Largely a lack of time on my part. There will be a fairly thorough description of this functionality in a soon to be released book. I am also attempting to put some more time in on my personal projects which would include some long awaited documentation and bug fixes. I have to feed the family first
hello~ thanks for your efforts
what's going on here? i cannot find the yaml classes anywhere
found it, with 3.4.12 (current stable), there's actually a yaml data set class
thanks for the great work, yaml is great for fixture [geshi lang=php] require_once 'PHPUnit/Extensions/Database/DataSet/YamlDataSet.php'; protected function getDataSet() { return new PHPUnit_Extensions_Database_DataSet_YamlDataSet($path_to_yaml); } [/lang] |
Paying for the Site
QuicksearchCategoriesArchivesDaily ReadsThe PHP WTF Sebastian Bergmann Wez Furlong Tom Sommer Tobias Schlitt Chris Shiflett Ben Ramsey adam trachtenberg Sklar george schlossnagle Dynamically Typed (Harry Fuecks) John Coggeshall John Lim Marco Tabini PHP Application Tools Planet PHP PHPCommunity.org |

