However, the options seemed to be completely ignored when I ran the tests from the CLI. I dug into the Teaspoon code, and I found that the options are indeed being set, but they're getting unset afterwards.
Specifically, the problem originates all the way up in teaspoon.rake. It fetches the options from the environment:
I set the driver options in my teaspoon_env:
However, the options seemed to be completely ignored when I ran the tests from the CLI. I dug into the Teaspoon code, and I found that the options are indeed being set, but they're getting unset afterwards.
Specifically, the problem originates all the way up in
teaspoon.rake
. It fetches the options from the environment:This then gets handed down to
Teaspoon.configuration.override_from_options
, which blindly sets each value, even if it'snil
:It might be better to ignore
nil
values in this method, something like this:I'm not sure what would be best given the other options, though. Perhaps it should be handled higher up in the call stack?