Open timofurrer opened 1 year ago
why do you need any static env var and what preventing you from setting it up with
os.Setenv("FOO", "1")
?
I need to do something similar... I have a .test.env that specifies some test env vars for testing my go app.
I use "godotenv" to run these tests:
godotenv -f .test.env go test ./...
I'm trying to work out how I could do something like this that would allow me to run the tests in neotest - I can't think of anything obvious though that would allow me to do this?
What is the proper way to specify some static environment variables to set when running a test for a single workspace?