Anh cho em hỏi nếu muốn hiểu cái core với flow ezyfox của anh thì em nên đọc repo nào trước anh nhỉ, Kiểu trước kia em hay thắc mắc vì sao @Component annotation ở spring thì giúp ...
Stack Ask Latest Questions
Em đang viết test cho issue https://github.com/youngmonkeys/ezyfox-server/issues/68. Em dùng Mockito để khởi tạo EzyAppContext: `EzyAppContext appContext = mock(EzyAppContext.class)`. Nhưng làm vậy `context.get(ScheduledExecutorService.class)` trả về `null`:
Em đã import ezyfox-server thành công, nhưng khi chạy thử ezyfox-server/ezyfox-server-support/src/test/java/com/tvd12/ezyfoxserver/support/test/entry/EzySimpleAppEntryTest.java thì bị exception, mặc dù test vẫn passed. Anh giải thích chỗ này giúp em với ạ. Full log: 19:58:31,683 DEBUG [main] impl.EzyObjectWriterElementsFetcher - start scan class com.tvd12.ezyfoxserver.support.test.entry.ClientNoUserRequestHandler 19:58:31,695 DEBUG ...
Em đã import ezyfox-server vào IntelliJ nhưng các file test không chạy được. Các bước: 1.Fork `ezyfox-server` về: https://github.com/vu-luong/ezyfox-server 2. Import vào IntelliJ Idea 3. Set Sources Root: 4. Kết quả bị ...
Mình tạo project bằng `ezyfox-server-archetype`, và dùng thư viện `ezyfox-boot-autoconfigure`, nhưng packagesToScan bị rỗng. Source code: https://github.com/vu-luong/EzySmashers