Phạm Tiến Đạt
1 questions
0 answers
Avatar
0
Phạm Tiến Đạt Beginner
[Unit Test] Có cách nào cấu hình sử dụng @MockBean với Spring boot test and Cucumber?
Xin chào, <p> </p> <p> Mọi người cho mình hỏi có cách nào cấu hình sử dụng @MockBean với Spring boot test and Cucumber? </p> <p> </p> <p> Dựa trên câu hỏi thread này mình setup chạy bình thường. Nhưng nếu mình apply thêm cả cucumber vào thì @MockBean không được. </p> <a href="https://stackask.com/question/spring-boot-integration-test-su-dung-co-ca-mockup-lan-service-that/" target="_blank">https://stackask.com/question/spring-boot-integration-test-su-dung-co-ca-mockup-lan-service-that/</a>
Answer