Clarification about environment variables

Hello It seems that environment variables added in a launch configuration for a test file are not set when the test file is launched in the testing tool. Can you confirm this?

piscvau's avatar
486
piscvau
asked 2023-07-01 02:58:52 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2023-12-07 08:25:04 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Are you setting the launch configuration under the Testing tab of File Properties for the individual test file, or in the Testing tab of Project Properties?

Wingware Support's avatar Wingware Support (2023-07-01 07:47:00 -0500) edit

Right if it is entered in the lauch configuration of the TestingTab

piscvau's avatar piscvau (2023-07-01 11:50:32 -0500) edit

That's odd. It's working for me whether I set it in a launch config referenced from the Testing tab in Project Properties or File Properties for an individual test file. Both work. What version of Wing are you running? Also, given the many problems you're reported here and via email I'm wondering if you have a corrupted project or some other underlying problem.

Wingware Support's avatar Wingware Support (2023-07-03 07:51:43 -0500) edit
add a comment see more comments