원클릭으로
localappdata-test-isolation
Isolate tests for services that write under %LOCALAPPDATA% without touching the real user profile.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Isolate tests for services that write under %LOCALAPPDATA% without touching the real user profile.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
{what this skill teaches agents}
Build real git source, bare remote, and local clone fixtures for CopilotBooster integration tests.
{what this skill teaches agents}
Reusable WinForms pattern for textboxes that accept either a bare GitHub PR/Issue number or a full github.com URL.
Core conventions and patterns for this codebase
Kill a spawned Windows process tree from C# with a Win32 Job Object.
| name | localappdata-test-isolation |
| description | Isolate tests for services that write under %LOCALAPPDATA% without touching the real user profile. |
| domain | testing |
| confidence | high |
| source | earned |
Use this skill when a unit test exercises code that writes beneath %LOCALAPPDATA%, such as %LOCALAPPDATA%\CopilotBooster\models-cache.json.
LOCALAPPDATA environment value.LOCALAPPDATA before constructing the service under test.Dispose or finally.Environment.GetEnvironmentVariable("LOCALAPPDATA") first, then fall back to Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), so tests can redirect the location deterministically.tests\Services\CopilotModelsServiceTests.cs uses a per-test temp %LOCALAPPDATA% root and writes/reads CopilotBooster\models-cache.json there.
%LOCALAPPDATA% folder.Environment.GetFolderPath(SpecialFolder.LocalApplicationData) honors process-level LOCALAPPDATA changes on Windows.