4PointSolutions / 4PointSolutions/FormsFeeder

Multiple Tests using Mock Plugin fail

Abierto
#22 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
4
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

For some reasons the tests in WebSecurityConfigTest that use the Mock plugin cause other tests in ServicesEndpoint (that also use the Mock plugin) to fail with a FileSystemNotFound error that comes from the Mock plugin.

It seems to be related to how the formsfeeder.core ResourceFactory loads files from the .jar path when running under Maven and SprngBootTest.

For now the offending tests are @Disabled, however it would be nice to correct the issue and then re-enable the tests. All tests run fine when run from Eclipse's JUnit runner. The problem only appears in the Maven build process.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

The issue is in WebSecurityConfigTest and ServicesEndpoint tests using a Mock plugin, failing with FileSystemNotFound in Maven builds. Examine how formsfeeder.core.ResourceFactory loads files from .jar paths under SpringBootTest. Start by looking at the disabled tests and the Mock plugin configuration. Run the Maven build to reproduce the error, then compare with Eclipse's JUnit runner environment.

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

Evaluación

Stack tecnológico
java, spring-boot
Área
testing
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.