labeling tests fail intermittently

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
testing

調査の方向性

test_labels.py と test_generation.py から始め、geneation.FuncEntry.to_dict の monkeypatch と check_labels 関数に注目してください。影響を受けるテストを実行し、その後、patch に頼るのではなく生成された AppMap を調べてください。テストが生成された AppMap のラベルを検証し、期待される条件が満たされない場合に失敗すれば完了です。

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

説明

appmap-python bug

The approach taken in test_labels.py and test_generation.py isn't reliable. Sometimes, monkeypatching geneation.FuncEntry.to_dict doesn't work (maybe because it's not patching the class that's actually used for generation). This results is the test passing, even if the expected condition hasn't been met, because the test's check_labels function is never called.

We should change the tests so that they examine the appmap after it's generated.

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

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

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

はじめの一歩

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

getappmap/appmap-python のほかの issue

getappmap/appmap-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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