4PointSolutions / 4PointSolutions/FormsFeeder

Multiple Tests using Mock Plugin fail

オープン
#22 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。