You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] -------------------------------------------------------
Mai 23, 2023 10:40:37 PM org.junit.jupiter.engine.discovery.MethodSelectorResolver resolve
WARNUNG: Possible configuration error: method [void spoon.support.TypeAdaptorTest.testFoo(java.lang.String)] resulted in multiple TestDescriptors [org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor, org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor]. This is typically the result of annotating a method with multiple competing annotations such as @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, etc.
Mai 23, 2023 10:40:37 PM org.junit.jupiter.engine.discovery.MethodSelectorResolver resolve
WARNUNG: Possible configuration error: method [void spoon.support.TypeAdaptorTest.testFoo(java.lang.String)] resulted in multiple TestDescriptors [org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor, org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor]. This is typically the result of annotating a method with multiple competing annotations such as @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, etc.
[INFO] Running spoon.support.TypeAdaptorTest
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.101 s <<< FAILURE! - in spoon.support.TypeAdaptorTest
[ERROR] spoon.support.TypeAdaptorTest.testFoo(String) Time elapsed: 0.029 s <<< ERROR!
org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [java.lang.String arg0] in method [void spoon.support.TypeAdaptorTest.testFoo(java.lang.String)].`
The easy fix is to remove @Test from GitHubIssue and ModelTest, in a later PR we could rename ModelTest because it is no longer a "Test". Wdyt?
Given this code, GithubIssue does not work together with
ModelTest
.It produces this warning:
The easy fix is to remove
@Test
from GitHubIssue andModelTest
, in a later PR we could rename ModelTest because it is no longer a "Test". Wdyt?The text was updated successfully, but these errors were encountered: