Add a color scheme test CI for "ISE Nostalgia"

オープン
#226 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SublimeText/PowerShell のほかの issue

SublimeText/PowerShell の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。