News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mike Lively's Blog:
YAML Now Supported by PHPUnit Database Extension
February 02, 2009 @ 07:52:31

Mike Lively has posted about a new bit of support that the PHPUnit unit testing software for PHP has just gotten - YAML data set parsing.

I have now just committed YAML data sets to the Database Extension for PHPUnit. So now all those that love the simplicity and straightforwardness of YAML can use it with your data sets. I have also created a persistor for YAML datasets so you can easily convert existing data sets or database data into YAML representations.

He includes an example of a bit of YAML markup and one of the major hurdles he had to overcome - trailing line breaks (as shown in the table_2/column 8 in the example). This functionality also includes a persistor that lets you convert things back the other day - current data set to YAML markup. You can find out more about data sets in PHPUnit in this section of the project's manual.

0 comments voice your opinion now!
yaml dataset phpunit convert parse persistor


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: PHPUnit Fundamentals: Setting Up and Tearing Down a Doctrine 2 Database

Project: Aleksey Martynov's lexa-xml-serialization Tool for PHP 5.3

Sebastian Bergmann's Blog: RC2 Is The New RC1 (PHPUnit)

NetTuts.com: Hands-On Unit Testing With PHPUnit (Screencast)

Vexxblog: How to convert/encode files to FLV using FFMPEG & PHP


Community Events





Don't see your event here?
Let us know!


language list zendserver api symfony series voicesoftheelephpant introduction release threedevsandamaybe deployment bugfix code conference community framework podcast interview laravel tips

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework