-
@suite and associated select class and package are not working with useJUnitPlatform(), are there any known limitations.. as it always says bbraces>gradle clean test --tests com.tejasoft.dsa.bbraces.tests.ju5.ut.suites.TestBBSuites
FAILURE: Build failed with an exception.
Any known bug as as in gradle/gradle#4912 etc.. never thought Suite can mean so much of an issue... trying hard from 1 week.. I tried console launcher.. that I am unable to understand as it only generates XML report not HTML, however on console at least the suite is recognised.. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The issue was including the dependency
ChatGPT has messed it up as it says dependency is on API :) |
Beta Was this translation helpful? Give feedback.
-
I expect now every company to feed the right answers to chatbot in the business interest of using their product the right way.. |
Beta Was this translation helpful? Give feedback.
-
B.T.W, why should junit report No tests found for given includes: rather than giving an exception that xyz class may not be found to run the suite.. further inspection of
this way instead of org.junit.platform:junit-platform-suite we can also include testImplementation("org.junit.platform:junit-platform-suite-api") |
Beta Was this translation helpful? Give feedback.
The issue was including the dependency
testImplementation("org.junit.platform:junit-platform-suite-api")
instead of
testImplementation("org.junit.platform:junit-platform-suite")
ChatGPT has messed it up as it says dependency is on API :)