-
[IntelliJ] FAILURE: Build failed with an exception.With Computer/Spring Starter Project 2020. 1. 31. 15:56
Testing started at 오후 3:48 ...
Starting Gradle Daemon...
Gradle Daemon started in 3 s 657 ms
> Task :cleanTest UP-TO-DATE
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes
> Task :compileTestJava
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
> Task :test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> No tests found for given includes: [com.ooo.oooo.springboot.HelloControllerTest.hello��_���ϵȴ�](filter.includeTestsMatching)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 34s
4 actionable tasks: 3 executed, 1 up-to-date
주석 오지게 달아서 오류난줄 알았더니
@Test 어노테이션을 입력 안해줌^^; 이클립스보다 백만배는 친절하구나 너,,!
이래서 인텔리인텔리하나봅니다 인텔리네진쨔
Testing started at 오후 3:57 ...
> Task :cleanTest
> Task :compileJava UP-TO-DATE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :compileTestJava
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.7.RELEASE)
BUILD SUCCESSFUL in 9s
4 actionable tasks: 3 executed, 1 up-to-date
오후 3:57:22: Tasks execution finished ':cleanTest :test --tests "com.ooo.oooo.springboot.HelloControllerTest.hello가_리턴된다"'. 클-린하게 성공!반응형'With Computer > Spring Starter Project' 카테고리의 다른 글
[intelliJ] Execution failed for task ':compileJava'. (0) 2020.01.31 [intelliJ] 수동으로 코드 검증 (0) 2020.01.31 [IntelliJ] 스프링 부트에서 테스트 코드를 작성하자 (0) 2020.01.30 [IntelliJ] 인텔리제이로 스프링부트 시작하기 (0) 2020.01.30 [IntelliJ] Gradle Project (0) 2019.12.12