python-hyper / python-hyper/h2

Add support for property-based tests for Settings equality.

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

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

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

説明

Follows on from #464 and #465.

We've added some specific tests for the Settings object's equality behaviour, and have reached some minimum code coverage, but this is really something that hypothesis should be able to help us with.

In particular, it should be reasonably possible to construct a Hypothesis strategy that will produce Settings objects that we can then evaluate. This is not an easy thing to do as it requires some familiarity with Hypothesis to pull off, but is probably a worthwhile challenge for anyone who wants to get their hands dirty with Hypothesis.

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず issue #464 と #465 を確認し、Settings オブジェクトの等価性の挙動に関する既存のテストを見つけます。Hypothesis の strategy を調べ、Settings オブジェクトを生成するものを構築します。property-based test が等価性の挙動を評価してパスすれば、作業は完了です。

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

評価

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

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

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