Closed seallard closed 3 years ago
Parsing a config file might be better. However, the testing becomes more cumbersome since I would have to create configs for different tests.
Maybe I should have a single configuration object that I pass around?
The best way seems to be a single config object. The tests can use a mock config object.
The code becomes unnecessarily messy when settings are passed around as arguments.