boostorg / boostorg/python

Replace `boost_assert` by proper testing logic in the context of BPL tests.

Aberta
#260 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C++
Estrelas
537
Forks
223
Merge médio
11h 22min
PRs com merge (30d)
2

Descrição

Boost.Python uses calls to `boost_assert` in its testing infrastructure. That macro suffers the same problems as the standard `assert` macro: it may evaluate to a no-op if `NDEBUG` is defined.

We need to find an alternative (which doesn't have to be a macro at all !), and make the corresponding adjustments throughout the Boost.Python test base.

Guia de contribuição

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

Direção de pesquisa

Inspect the Boost.Python test infrastructure and locate all uses of boost_assert. Check how the existing tests behave with NDEBUG defined, then determine the replacement's required behavior and update the affected test-base usages. Done means the tests still report failures reliably when assertions are enabled or disabled.

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

Avaliação

Stack de tecnologia
cpp
Domínio
testing-qa
Tipo de issue
Refatoração
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

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