aboutcode-org / aboutcode-org/scancode-toolkit

Add match details to license detection tests

Aberta
#3,283 0 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
2.6k
Forks
791
Merge médio
1d 12h
PRs com merge (30d)
5

Descrição

It would help reviewing updated tests results if we were to include the match details in the expected license tests data structure in https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode_test_utils.py

The updated tests should IMHO include:
- the start and end line
- the matcher
- the "diagnostics" matched text
and should not include rule was matched

The approach should be to regenerate all expected tests once with no other change and then use this afterwards.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

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