patternfly / patternfly/patternfly-react
CodeEditor - testing is needed for interactions with React Dropzone and the Monaco Editor
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 862
- フォーク
- 392
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 9
説明
As mentioned in #7450 the Code Editor is lacking in test coverage based on our newly determined testing guidelines.
I anticipate the most difficult part of this issue will likely be determining how we should test certain aspects surrounding the Monaco Editor and React Dropzone libraries that we use.
Monaco seems to do something that makes entering text in its editor difficult using RTL, and React Dropzone has functions (such as its open function) which I'm not sure how would be best to test.
Jira Issue: PF-182
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず Code Editor コンポーネントと #7450 のテストに関するガイダンスを確認し、次に React Testing Library が React Dropzone および Monaco Editor とどのように連携するかを調べます。どのインタラクションをカバレッジの対象にする必要があるかを判断し、作成したテストをプロジェクトのテストガイドラインに照らして確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend, testing
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100