astropy / astropy/pytest-arraydiff

Add support for parameterized tests

Aberta
#46 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Python
Estrelas
27
Forks
21
Merge médio
6h 39min
PRs com merge (30d)
1

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
testing
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.