flutter / flutter/devtools

`dcm analyze` false positives

Abierto Apto para principiantes
#9,942 3 comentarios 0 reacciones 0 asignados Ver en GitHub
a: quality cost: low P2
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

@incendial finding some more false positives here. I can file these somewhere else if that is better for you, just let me know.
```
packages/devtools_app/test/screens/debugger/syntax_highlighter_test.dart (1 issue):
WARNING This test group does not contain any test cases.
at packages/devtools_app/test/screens/debugger/syntax_highlighter_test.dart:514:7
avoid-empty-test-groups : https://dcm.dev/docs/rules/common/avoid-empty-test-groups
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by running `dcm analyze` against `packages/devtools_app/test/screens/debugger/syntax_highlighter_test.dart` and inspect the empty test group reported at line 514. Determine why `avoid-empty-test-groups` flags this case, then verify that analysis no longer reports this false positive while still detecting genuinely empty groups.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart
Área
testing-qa, tooling
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
68/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.