ashald / EnvFile

EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
MIT License
545 stars 129 forks source link

When running tests in IntelliJ the `envfile` if not loaded #210

Closed PhoenixRe32 closed 1 year ago

PhoenixRe32 commented 1 year ago
IntelliJ IDEA 2022.3.1 (Ultimate Edition)
Build #IU-223.8214.52, built on December 20, 2022
Licensed to XXX
Subscription is active until XXX.
Runtime version: 17.0.5+1-b653.23 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

It's a Kotlin project if it matters.

image

image I tried it also by not using substitution and just using the home folder path

zzerjae commented 1 year ago

I think your dev.env should be remove export

As-Is
export TESTCONTAINERS_DOCKER...
export DOCKER_HOST...

To-Be

TESTCONTAINERS_DOCKER...
DOCKER_HOST...
PhoenixRe32 commented 1 year ago

🤦 Copy Paste silliness