Is there any way to save database in fixtures files

I’m working on automatics testing and I need to populate the database with generic datas at startup. When I do the same thing on Synfony, I have a functionnality command line like:

$> php symfony propel:data-dump myProject /dir/content/fixtures/file/

to save the database and its content in fixture files and I can run all the tests with clean database.

Question: Are you know a way to do the same thing with Yii ?