4PointSolutions / 4PointSolutions/FormsFeeder

Multiple Tests using Mock Plugin fail

Đang mở
#22 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
4
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java, spring-boot
Lĩnh vực
testing
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.