Software Workshop
package org.springframework.boot.test.context does not exist1
package org.springframework.boot.test.web.client does not exist1
package org.springframework.boot.test.autoconfigure.orm.jpa does not exist

package org.springframework.test.context.junit4 does not exist1
package org.springframework.test.context.web does not exist1

package org.assertj.core.api does not exist

위와 같은 에러가 발생하는 경우는 spring boot의 test starter 의존성이 누락되어 있기 때문임

다음과 같이 pom.xml에 의존성을 추가하면 됨

pom.xml

<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-test</artifactId>        
   <scope>test</scope>
</dependency>