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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp

調査の方向性

まず、共有テストプロジェクトがどのように構成されているか、およびテストで csproj のサポートを有効にすることに関するリンクされた issue を確認します。すべてのテストプロジェクトで AoT を有効にする方法と、csproj のサポートを追加する方法を比較し、検証ポイントとして Gallery App と単体テストのカバレッジを検討します。テストプロジェクトで長期的に NativeAoT の問題を実行して検証できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement nativeaot testing 🏗

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.

主要言語
C#
スター
57
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommunityToolkit/Tooling-Windows-Submodule のほかの issue

CommunityToolkit/Tooling-Windows-Submodule の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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