Make double-click tests deterministic instead of retrying

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
67/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp
領域
testing

調査の方向性

Start by reading the double-click helper changed in PR #122 and the double-click cases in SelectionTests. Check how the tests currently trigger pointer clicks and where Avalonia's click count is determined, then choose a test seam that lets them specify the count. Done when the SelectionTests double-click cases are deterministic and the retry is removed.

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

説明

Double-click tests depend on Avalonia counting clicks by real time (the system double-click interval), so on a busy CI runner two presses become two single clicks. PR #122 added a retry (up to 5 attempts) to one helper; the SelectionTests double-click tests use the same timing and can flake. Make click counting deterministic in tests (pass ClickCount through a test seam or raise pointer events with an explicit click count) and remove the retry.

主要言語
C#
スター
0
フォーク
0
平均マージ
1時間 43分
マージ済み PR(30日)
43

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

sillsdev/SIL.TextEditing のほかの issue

sillsdev/SIL.TextEditing の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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