4PointSolutions / 4PointSolutions/FormsFeeder

Multiple Tests using Mock Plugin fail

未关闭
#22 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
4
派生
3
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
java, spring-boot
领域
testing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。