private IEnumerable <CodeLens> GetPesterLens( PesterSymbolReference pesterSymbol, ScriptFile scriptFile) { var clientCommands = new ClientCommand[] { new ClientCommand( "PowerShell.RunPesterTests", "Run tests", new object[] { scriptFile.ClientFilePath, false, // Don't debug pesterSymbol.TestName, }), new ClientCommand( "PowerShell.RunPesterTests", "Debug tests", new object[] { scriptFile.ClientFilePath, true, // Run in debugger pesterSymbol.TestName, }), }; return (clientCommands.Select( command => new CodeLens( this, scriptFile, pesterSymbol.ScriptRegion, command))); }