File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 724724 "type" : " string" ,
725725 "description" : " Path to python interpreter, useful when you want to use a specific venv" ,
726726 "default" : " python"
727+ },
728+ "e3-testsuite.args" : {
729+ "type" : " array" ,
730+ "description" : " Command line arguments to pass to testsuite.py when running tests" ,
731+ "default" : []
727732 }
728733 }
729734 }
Original file line number Diff line number Diff line change @@ -213,6 +213,13 @@ export function activateE3TestsuiteIntegration(context: vscode.ExtensionContext)
213213 cmd . push ( `--notify-events=python:${ module } :${ hook } ` ) ;
214214 }
215215
216+ /**
217+ * Append CLI args defined in settings
218+ */
219+ cmd . push (
220+ ...( vscode . workspace . getConfiguration ( 'e3-testsuite' ) . get < string [ ] > ( 'args' ) ?? [ ] ) ,
221+ ) ;
222+
216223 const cwd = vscode . workspace . workspaceFolders ! [ 0 ] . uri . fsPath ;
217224 await new Promise < void > ( ( resolve , reject ) => {
218225 const p = spawn ( cmd [ 0 ] , cmd . splice ( 1 ) , {
You can’t perform that action at this time.
0 commit comments