astropy / astropy/pytest-arraydiff

Add support for parameterized tests

未關閉
#46 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Python
星號
27
分支
21
平均合併
6 小時 39 分鐘
30 天內合併 PR
1

描述

It would be great to be able to be able to use `pytest-arraydiff` in conjunction with parametrized tests. If it were possible to layer the decorators, that would be optimal

```python
@pytest.mark.array_compare
@pytest.mark.parametrize(...)
def test(...):
return ...
```

Alternatively if ``array_compare`` supported the parametrization that would be good as well.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start by examining the pytest-arraydiff array_compare decorator and how pytest parametrized tests are collected. Determine whether decorator layering or direct parametrization support is the intended design, then add coverage showing that parameterized cases compare against their references and run the plugin's test suite.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
testing
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。