Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

using FixtureFactory in 3.0?


Go to End


569 Views

Avatar
mbernst

Community Member, 3 Posts

29 January 2013 at 7:18pm

The functional testing docs show how to use FixtureFactory to prepare test data:

http://doc.silverstripe.com/framework/en/topics/testing/create-functional-test
http://doc.silverstripe.com/framework/en/topics/testing/fixtures
http://api.silverstripe.org/3.0/framework/core/FixtureFactory.html

But I can't find FixtureFactory in the stable 3.0 release. I just downloaded a fresh copy of http://www.silverstripe.org/assets/releases/SilverStripe-framework-v3.0.3.tar.gz to be sure. I found it in the git repo but I'm not sure if I should pull that one file by itself, nor why the docs don't match the release.