croach / Flask-Fixtures

A simple library for adding database fixtures for unit tests using nothing but JSON or YAML.
MIT License
63 stars 30 forks source link

Allow multiple fixture sets within a single file #1

Open croach opened 10 years ago

croach commented 10 years ago

The idea here is to allow a developer to add multiple fixture sets within a single file and have only a specific set loaded for a test. You could do this by accepting a file name and then a list of fixture sets. This way you could have a default set of fixtures for every test and separate sets that are specific to each test.