I am a spek newbie and so far I think it is a very...
# spek
m
I am a spek newbie and so far I think it is a very nice framework! One feature I’m curious about is the ability to inherit fixtures. As an example, let’s say for almost all of the project's specifications, I need a common setup and teardown. This could be tasks such as loading data into a database and then deleting the database after the test. Is there a way to do define these fixtures somewhere once, then reuse? Currently, I just have the code for these setup/teardowns defined in util objects, but was curious if there is a way to not have to explicitly call them from within each group’s fixtures. Thanks for the assistance.