VMware Tanzu Application Service for VMs

 View Only

 Hi all, As I am migrating my application from JUnit4 to JUnit5 ,I see that some of the test cases are being ignored. Can you please tell me how to run the ignored test cases. Thank you!!

KUMAR ABHISHEK's profile image
KUMAR ABHISHEK posted Jul 04, 2019 10:50 AM

 

Daniel Mikusa's profile image
Daniel Mikusa

You would need to be more specific here. Are you using Spring Boot? If so, what version? Also, have you migrated all of your test cases to use JUnit5? I do not believe you can have a project that is mixed and using both.

 

Hope that helps!

KUMAR ABHISHEK's profile image
KUMAR ABHISHEK

No ,the application is in spring. The application already have 400 test cases written in junit 4 . now I am migrating all the test cases to junit5. I have already moved 350 test cases to junit5 but remaining 50 test cases are showing ignored.

I am running my project in intellij. I have made the changes in my pom also I have changed the annotations according to junit5.But still some test cases are showing ignored.How to run these ignored test cases?