I have a bunch of unittests written in
python in which messages (text) of any kind is used. Instead of 'hardcoding' the text examples used for the tests I would like to use a database of some kind (simple text file, pickle file) which contains such test examples, and which can be extended either manually or automatically very easily.
Is there a dedicated framework/module available, or do I do this simply on my own and create a simple text file? Maybe there are some best practices available I can follow?