-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some small improvements to docs and tools around running tests locally against real services #23387
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
"env": { | ||
"fluid__test__driver": "local", | ||
"fluid__test__backCompat": "${input:backCompat}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutputt}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutput}", | ||
}, | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/mocha", | ||
"windows": { | ||
|
@@ -55,7 +55,7 @@ | |
"env": { | ||
"fluid__test__driver": "t9s", | ||
"fluid__test__backCompat": "${input:backCompat}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutputt}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutput}", | ||
}, | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/mocha", | ||
"windows": { | ||
|
@@ -109,8 +109,10 @@ | |
"env": { | ||
"fluid__test__driver": "odsp", | ||
"fluid__test__backCompat": "${input:backCompat}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutputt}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutput}", | ||
"fluid__test__odspEndpointName": "${input:odspEndpoint}", | ||
"login__odsp__test__tenants": "${input:login__odsp__test__tenants}", | ||
"login__microsoft__clientId": "${input:login__microsoft__clientId}", | ||
}, | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/mocha", | ||
"windows": { | ||
|
@@ -146,7 +148,8 @@ | |
"fluid__test__driver": "r11s", | ||
"fluid__test__backCompat": "${input:backCompat}", | ||
"fluid__test__r11sEndpointName": "${input:r11sEndpoint}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutputt}", | ||
"FLUID_TEST_VERBOSE": "${input:verboseConsoleOutput}", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Abe27342 I guess this will block the fallthrough to the local environment variables, so probably shouldn't merge this as-is. Any ideas on how to organize/implement this to make it quick/easy to plug them in on CodeSpaces or another place where getkeys hasn't been run on the local machine? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think something like https://github.com/microsoft/FluidFramework/pull/23387/files#r1913828487 is probably the best we can do. launch targets aren't super feature-rich. It's fine to leave around the extra bits you added under "inputs"--as long as they aren't used by any launch targets, they won't be prompted for. You could maybe put a comment there instead explaining they're useful for codespaces workflows. |
||
"fluid__test__driver__frs": "${input:fluid__test__driver__frs}", | ||
}, | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/mocha", | ||
"windows": { | ||
|
@@ -208,7 +211,7 @@ | |
], | ||
}, | ||
{ | ||
"id": "verboseConsoleOutputt", | ||
"id": "verboseConsoleOutput", | ||
"description": "Show console output?", | ||
"default": "", | ||
"type": "pickString", | ||
|
@@ -245,5 +248,23 @@ | |
}, | ||
], | ||
}, | ||
{ | ||
"id": "fluid__test__driver__frs", | ||
"description": "FRS Tenant info from our team key vault. Check your env vars after running getkeys", | ||
"type": "promptString", | ||
"password": true, | ||
}, | ||
{ | ||
"id": "login__odsp__test__tenants", | ||
"description": "ODSP Tenant info from our team key vault. Check your env vars after running getkeys", | ||
"type": "promptString", | ||
"password": true, | ||
}, | ||
{ | ||
"id": "login__microsoft__clientId", | ||
"description": "Client ID for authenticating to test ODSP tenants. Check your env vars after running getkeys", | ||
"type": "promptString", | ||
"password": true, | ||
}, | ||
], | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.