5
मैं इस Gradle कार्यorg.gradle.api.tasks.testing.junit.JUnitOptions.includeGroups() तर्क प्रकार के लिए लागू होता है: (java.lang.String) मान: [NoDbTests]
और फिर जोड़ लिया है
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/eladb/WorkspaceQa/java/UsersServer/build.gradle' line: 98
* What went wrong:
A problem occurred evaluating root project 'UsersServer'.
> No signature of method: org.gradle.api.tasks.testing.junit.JUnitOptions.includeGroups() is applicable for argument types: (java.lang.String) values: [NoDbTests]
क्या मेरी वाक्य रचना के साथ कुछ गलत है: मैं इस त्रुटि मिलती है?
मैं इस ट्यूटोरियल देखा:
test {
useJUnit {
includeCategories 'linqmap.users.interfaces.NoDbTests'
// excludeCategories 'org.gradle.junit.CategoryB'
}
}
स्क्रिप्ट से snipit शामिल करें चल रहा thats। ऐसा लगता है कि आपके द्वारा पोस्ट की गई स्क्रिप्ट त्रुटि से संबंधित नहीं है। – Ethan