Add approval testing for native modules

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp

調査の方向性

ネイティブモジュールの統合テストから始め、承認/スナップショットテストのアプローチについて ApprovalTests.cpp を確認してください。画像生成結果を含むモデル出力のリファレンスファイルを定義し、テストでモデルのエクスポートにおけるリグレッションを検出できることを検証してください。

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

説明

test

Currently, native module integration tests only verify that models execute without crashing and produce output. However, they don't validate that the output is correct. For example, image generation models return image data, but we don't verify the images are visually correct or match expected results.

The scope of this task is to introduce approval/snapshot testing for model outputs. Tests will compare model outputs against known-good reference files to detect regressions in model exports.

主要言語
TypeScript
スター
1.8k
フォーク
101
平均マージ
2日 4時間
マージ済み PR(30日)
58

環境構築

はじめの一歩

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

software-mansion/react-native-executorch のほかの issue

software-mansion/react-native-executorch の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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