a2ui-project / a2ui-project/a2ui

Create 1P testing utilities for Angular

オープン
#1,519 コメント 1 件 リアクション 0 件 担当者 1 名 @josemontespg に割り当て済み GitHub で見る
component: angular renderer P2 type: feature/enhancement
主要言語
TypeScript
スター
16.4k
フォーク
1.3k
平均マージ
2日 13時間
マージ済み PR(30日)
134

説明

Need a way to ergonomically set props on components during unit tests. This should be part of a testing public API

Something like
```
setProps(componentInstance, {
prop1: 'foo',
prop2: 42,
})
```

and setProps would take care of providing a type safe signature, also create the BoundProperty objects.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Look for existing testing utilities in the codebase, likely under a directory like `testing/` or `src/testing/`. Understand how components are currently tested and how BoundProperty objects are created. The goal is to design and implement a `setProps` function that integrates with Angular's testing APIs and provides type safety.

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

評価

技術スタック
angular, typescript
領域
testing
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

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

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