4PointSolutions / 4PointSolutions/FormsFeeder

Multiple Tests using Mock Plugin fail

Offen
#22 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
4
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java, spring-boot
Bereich
testing
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.