samvera / samvera.github.io

Public website for version controlled Samvera documentation (mostly Hyrax)
http://samvera.github.io
Apache License 2.0
7 stars 17 forks source link

Add page for how/why/when to use Factories, esp "lightweight" factories #281

Open afred opened 6 years ago

afred commented 6 years ago

Factories are the conventional way of creating sample data in Hyrax test.

Additionally, some "lightweight" factories have been created that allow you to create test data without touching so much of the persistence layer, and thus speeding tests up by quite a bit.

We'd like to make this a "best practice" for Hyrax testing.