spring boot no tests found with test runner 'JUnit5'
做单元测试的时候,报spring boot no tests found with test runner 'JUnit5'。
解决:

将junit5改为junit4就可以顺利测试。
道法自然
做单元测试的时候,报spring boot no tests found with test runner 'JUnit5'。
解决:

将junit5改为junit4就可以顺利测试。