Sprin Boot no comment RunWith solution

An error in the use of RunWith notes, because there is no import dependency junit

<dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
     <version>4.12</version>
     <scope>test</scope>
</dependency>
<dependency>
    <groupId>org.junit.jupiter</groupId>
    <artifactId>junit-jupiter-api</artifactId>
    <version>5.0.0</version>
</dependency>

Guess you like

Origin www.cnblogs.com/ez4zzw/p/12602494.html