aai-institute / aai-institute/pyDVL
Define more pytest markers
オープン
初心者向け
testing
- 主要言語
- Python
- スター
- 146
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
We currently have `pytest.mark.torch` as a pytest marker used to identify tests that depend on PyTorch. This can be used to selectively run only these tests or skip them altogether.
We should define more markers for other cases such as:
- `pytest.mark.ray` for tests that depend on ray.
- `pytest.mark.memcached` for tests that depend on memcached.
コントリビューションガイド
調査の方向性
コードベース内で `pytest.mark.torch` のような既存の pytest マーカーを探し、パターンを理解します。ray または memcached を使用しているテストを検索し、新しいマーカーを追加する場所を特定します。pytest の設定(おそらく pyproject.toml、setup.cfg、または conftest.py)でマーカーを定義し、それらを関連するテスト関数に適用します。マークしたテストを実行して、正しく動作することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 70/100