728x90
인텔리J 경고에
Suspicious combination of '@Test' and '@ParameterizedTest'
라는 문구가 떴다.
실제 발생한 에러는
org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [long ---] in method
테스트 자체는 잘 돌아간다.
Junit5부터 변경된 내용이라, @Test와 @ParameterizedTest 둘 중 하나만 써야한다.
커스텀 태그를 만들어둔 부분이라 중복된 부분이라 수정해주었다.
300x250
'ETC' 카테고리의 다른 글
[Error] Spring - spring.jpa.open-in-view is enabled by default (0) | 2023.05.25 |
---|---|
[Error] Test - @Slf4j cannot find symbol 에러 (0) | 2023.05.23 |
[Error] JPA - @CreatedDate, @LastUpdatedDate가 null일때 (0) | 2023.05.23 |
[Error] Spring config - Error executing DDL "alter table goal drop foreign key (0) | 2023.05.23 |
[Error] Mysql Workbench 접속 에러 (0) | 2023.05.23 |
[Error] Spring boot - HikariPool-1 - Shutdown completed. Process finished with exit code 0 (0) | 2023.05.23 |
[IntelliJ] 인텔리제이 JUnit5 테스트 시, displayName이 안 나올 때 (0) | 2023.05.19 |
[Error] Gradle, Spring Boot 3.x.x 실행 에러 (0) | 2023.05.19 |