Using dependency ordering with -k
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- testing-qa
調査の方向性
設定ドキュメントの order-dependencies の例から始め、pytest -k test_a で再現します。-k による選択が依存関係の順序付けとどのように相互作用するかを調査し、依存関係の選択をサポートする既存のフラグがあるか、または動作の変更を文書化する必要があるかを判断します。選択したテストとその依存関係が意図したとおりに一緒に実行されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I was looking at pytest-dependency and came across pytest-order.
It looks pretty neat and works in the way I was hoping it would. It's amazing how this library works !
One issue I found was that when I take the example at:
https://pytest-dev.github.io/pytest-order/stable/configuration.html#order-dependencies
And run:
pytest -k test_a
It will say 1 skipped, 1 deselected
Which becomes a bit inonvenient because if I want to run a single test, I would want the "dependencies" of that test to also run.
Is there a flag I can use to "select" my test as well as it's dependencies ?
- 主要言語
- Python
- スター
- 210
- フォーク
- 17
- 平均マージ
- 16時間 8分
- マージ済み PR(30日)
- 4
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytest-dev/pytest-order のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
pytest-dev/pytest-order#55 · コメント 12 件 · リアクション 4 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
pytest-dev/pytest-order#51 · コメント 6 件 · リアクション 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
pytest-dev/pytest-order#50 · コメント 4 件 ·
pytest-dev/pytest-order の issue をすべて見る
似ている issue
-
agent-ready documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
instance instance add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
searxng/searx-instances#939 · コメント 1 件 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100