Branch code coverage not working properly
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- java, typescript
Línea de trabajo
El informe no nombra ningún archivo fuente, prueba ni punto de entrada. Comienza reproduciendo la visualización de branch coverage descrita en las capturas de pantalla y sigue cómo se asignan las branches cubiertas y no cubiertas a las sentencias. Se considera terminado cuando los números de branch y el estado de coverage mostrados identifican la branch realmente no cubierta tanto en casos multilínea como de una sola línea.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I recently discovered the branch code coverage and I think it would be a very useful tool, however at the moment is buggy:
In the case above it tells me the branch 6 has no coverage, which is the case when the first three statements are false.
Here it tells me branch 2 is not covered, which is when the statement is false.
First of all maybe the fact that the statements are divided by lines shouldn't truncate the number of branches... If I put all statements in one line it would tell me that branch 8 is not covered (when all statements are false)
But most importantly as you can see branch 8 would be the one actually covered because the 'else' statement is all green. I could give you other examples where this is evident. Essentially what I am trying to say that if one of the branches is not covered at the moment the extension just says the last branch is not covered, when in fact in the case I gave you earlier I am pretty sure branch 7 (when now.equals(orarioFineEsec) equals true) is not covered, but I wouldn't know on the info that is given here.
- Lenguaje dominante
- TypeScript
- Estrellas
- 340
- Forks
- 173
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 17
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/vscode-java-test
-
ai-triaged bug investigating junit test-discovery test-execution
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
microsoft/vscode-java-test#1897 · 1 comentario ·
-
ai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · 2 comentarios · 1 asignado ·
-
ai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · 3 comentarios · 1 asignado ·
-
ai-triaged enhancement junit low-priority test-execution ui
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
microsoft/vscode-java-test#1836 · 4 comentarios ·
-
ai-triaged enhancement gradle investigating junit low-priority test-reporting
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
microsoft/vscode-java-test#1824 · 1 comentario ·
Todos los issues de microsoft/vscode-java-test
Issues similares
-
comp/desktop P3 type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
getsentry/sentry-javascript#24577 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Add 2021 Cup data to website Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chrisparsons83/flexspotff#153 ·