Add support for parameterized tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
@pytest.mark.array_compare
@pytest.mark.parametrize(...)
def test(...):
return ...
Alternatively if array_compare supported the parametrization that would be good as well.
- Dominant language
- Python
- Stars
- 27
- Forks
- 21
- Avg merge
- 6h 39m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from astropy/pytest-arraydiff
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
astropy/pytest-arraydiff#69 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
astropy/pytest-arraydiff#58 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
astropy/pytest-arraydiff#41 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
astropy/pytest-arraydiff#20 ·
All issues in astropy/pytest-arraydiff
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100