aboutcode-org / aboutcode-org/scancode-toolkit

Add match details to license detection tests

Abierto
#3,283 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.