CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule

Enable AOT (Ahead-of-Time) Compilation in Tests

Abierto
#256 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement nativeaot testing 🏗
Lenguaje dominante
C#
Estrellas
56
Forks
19
Merge medio
40 min
PR fusionados (30 d)
1

Descripción

## Background

While the original "why" behind AoT being disabled in tests is lost or unknown, the "why" behind enabling it now is known.

We are in the process of collecting and fixing the NativeAoT issues in the toolkit.

## Problem

We'd like to be able to test more of the codebase with AoT than the sample app provides.

We could use our test projects, but AoT would need to be enabled.

## Solution

Due to the nature of tests using shared projects, we're not able to toggle AoT for them individually.

We'll have to either *enable csproj support for tests* (see https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/101) or *enable aot in all test projects simultaneously.*

We've made progress towards AoT recently, but the Gallery App can only tell us so much. We'll need the ability to validate AoT issues using unit tests to ensure proper coverage long-term.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza revisando cómo están configurados los proyectos de prueba compartidos y el issue enlazado sobre habilitar la compatibilidad con csproj para las pruebas. Compara habilitar AoT en todos los proyectos de prueba con añadir compatibilidad con csproj, y considera la Gallery App y la cobertura de las pruebas unitarias como puntos de validación. Se considera terminado cuando los proyectos de prueba puedan probar y validar problemas de NativeAoT a largo plazo.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
build-system, testing
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.