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.
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.