FixturesShell - Share your test data
Posted by Felix Geisendörfer, on May 03, 2008 - in PHP & CakePHP » Controllers, Components & Shells
Hey folks,
for some of the projects Tim and I recently got involved with I noticed that I needed a way to share a set of test data with the other people working on the project. The result is a simple shell leveraging CakePHP 1.2's fixtures. Usually those are used for unit testing your Models and Behaviors, but they also do a great job at sharing a common set of data within a project.
So if you're interested to try it, check out the project page and let me know what you think.
-- Felix Geisendörfer aka the_undefined
3 Comments
Kim: You should not get that. Have you created the model for the fixtures you try to create?
It was one of those stupid mistakes where i had the path to console in my bash_login set to an older version of cake. Seemed strange either way but i got it fixed by just correcting the path!


Hi Felix. Tried this out today and got a:
Fatal error: Cannot redeclare class Model in /cake/libs/model/model.php on line 2651
Anything you encountered?