[file-diet] Refactor TestingPlatformEntryPointTask.cs (739 lines) into focused files
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
- Área
- build-system
Línea de trabajo
Start with src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformEntryPointTask.cs, separating the task orchestration around lines 12-160 from the embedded C#, Visual Basic, and F# templates. Preserve the existing template content and public API, then run the existing tests. Done means generated output is byte-identical and each of the four files is under 300 lines.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Overview
The file src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformEntryPointTask.cs has grown to 739 lines, making it harder to navigate and maintain. (XxHashShared.cs at 925 lines is a verbatim upstream port and was skipped.)
Current State
- Size: 739 lines, C#
- Lines ~12-160: the MSBuild task (properties,
Execute, host factory validation,GenerateSource). - Remaining ~580 lines: embedded C#, VB and F# source templates for the generated entry point, in variants with/without entry point and with/without host factory.
Proposed Splits
TestingPlatformEntryPointTask.cs(partial): task orchestration and validation.TestingPlatformEntryPointTask.CSharpTemplates.cs: C# templates.TestingPlatformEntryPointTask.VisualBasicTemplates.cs: VB templates.TestingPlatformEntryPointTask.FSharpTemplates.cs: F# templates.
Acceptance Criteria
- Generated output is byte-identical
- Each new file is under 300 lines
- Public API unchanged; tests pass
Priority: Medium | Effort: Small
🤖 Automated content by GitHub Copilot. Generated by the Daily File Diet workflow. · copilot · auto · 29.2 AIC · ⌖ 8.2 AIC · ⊞ 12.1K · [◷]( · ◷)
- expires on Oct 1, 2026, 6:58 PM UTC
- Lenguaje dominante
- C#
- Estrellas
- 1k
- Forks
- 312
- Merge medio
- 8 h 11 min
- PR fusionados (30 d)
- 488
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/testfx
-
type/automation type/tech-debt
Dificultad 4/5 3-5 días Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
[efficiency-improver] Hoist PathContainment prefix normalization out of Retry recovery loopsAbiertoagentic-workflows area/performance type/automation
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
Los mantenedores suelen responder en 1 día
-
[file-diet] Split NamedPipeServerSecurity.cs (614 lines) into focused modulesPosiblemente ocupada @Evangelink la tomó hoy. Abiertotype/automation type/tech-debt
microsoft/testfx#11667 · 1 reacción · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
area/infrastructure area/vendored-sync area/winui needs/triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
area/mstest area/mtp area/winui needs/triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/testfx
Issues similares
-
:watch: Not Triaged dotnet-target-version
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
copilot documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
dotnet/dotnet-api-docs#13124 ·
Los mantenedores suelen responder en 1 día
-
agentic-workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
BHoM/MidasCivil_Toolkit#441 ·