maven test跳过了单元测试,显示 Tests run 0, Failures 0, Errors 0, Skipped 0
试试,不要删除版本号
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
</plugins>
</build>