Add a color scheme test CI for "ISE Nostalgia"

未关闭
#226 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
powershell
领域
ci-cd, testing, tooling

调研方向

Start by investigating the SublimeText/UnitTesting functionality mentioned in the issue and how color schemes or syntax scopes are currently tested. Define an automated regression test for the ISE Nostalgia colors using the PowerShell examples shown; done means the test runs in CI and detects unintended scope or color changes.

由索引模型根据 Issue 内容生成。

描述

tooling

I re-built the ISE Nostalgia color scheme by searching for screenshots online. This is the content I managed to come up with as of 2cb109eedb914e3ea898b3c12c598c1d0a823c40.

# Login to your tenant
Add-PowerAppsAccount

$requestBody = @{
    disableSurveyFeedback = $true
}

Set-TenantSettings -RequestBody $requestBody

$psISE.CurrentPowerShellTab.Clear()

function New-OutOfProcRunspace {
    param(
        $ProcessID,
        [Parameter(Position=0,ValueFromPipeline=$True)]
        [string]$Computername=$env:COMPUTERNAME
    )

    $ci = New-Object -TypeName System.Management.Automation -ArgumentList @($ProcessID)
    $tt = [System.Management.Automation.Runspaces.RunspaceFactory]::CreateRunspace($ci)
}

$foo -eq 4

Write-Host "Found $($s.count) ser`vices"

foreach ($server in $Servers) {
    $apps[$ID]
}

I know there's some functionality for SublimeText/UnitTesting to be able to run automated tests as scopes change to regression test the colors, but I haven't really looked into it. If someone wants to figure that out, be my guest.

主要语言
PowerShell
星标
335
派生
80
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

SublimeText/PowerShell 的其他 Issue

查看 SublimeText/PowerShell 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。