当前位置:网站首页>TestEngine with ID ‘junit-vintage‘ failed to discover tests
TestEngine with ID ‘junit-vintage‘ failed to discover tests
2022-06-12 13:47:00 【天狼1222】
在进行单元测试的时候,启动报错:
TestEngine with ID 'junit-vintage' failed to discover tests看了网上说的,由于spring-boot-starter-test默认使用Junit5,但是vintage引擎还是默认包含了,由此可见虽然我使用Junit5还是需要手工排除排除junit-vintage-engine依赖。最终项目依赖为:
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}这样处理了,还是报一样的错? 把测试模块重新编译下。可能新加的单元测试,没有编译到,读取不到导致的。

重新编译后,再进行,应该就可以了
边栏推荐
- Backtracking: Prime Rings
- Alibaba cloud development board haas510 connects to the Internet of things platform -- Haas essay solicitation
- Codeforces 1637 A. sorting parts - simple thinking
- Data type conversion and conditional control statements
- Recursion of subviews of view
- 字节序数据读写
- D1 Nezha Development Board understands the basic startup and loading process
- Codeforces 1634 F. Fibonacci additions - Fibonacci sequence addition, ideas
- 【mysql进阶】查询优化原理与方案(六)
- 编译安装基于fastcgi模式的多虚拟主机的wordpress和discuz的LAMP架构
猜你喜欢

阿里云开发板HaaS510响应UART串口指令

拆改广告机---业余解压

Xcode debugging OpenGLES
![[video lesson] a full set of tutorials on the design and production of Android studio Internet of things app -- all mastered during the National Day](/img/8d/3bfb5d2798797be3e0b10e25c978d3.png)
[video lesson] a full set of tutorials on the design and production of Android studio Internet of things app -- all mastered during the National Day

CSDN博客积分规则

上海解封背后,这群开发者“云聚会”造了个AI抗疫机器人

注重点击,追求更多用户进入网站,可以选择什么出价策略?

Display logs in the database through loganalyzer

阿里云开发板HaaS510报送设备属性

阿里云开发板vscode开发环境搭建
随机推荐
[advanced MySQL] evolution of MySQL index data structure (IV)
Create a small root heap and judge the node relationship (also.C\u str() substr(),atoi(),string. Use of find())
M1 pod install pod lint failure solution
Implementation of Ackermann function with simulated recursion
[MySQL advanced] index classification and index optimization scheme (V)
Cdeforces 1638 C. inversion graph - simple thinking
Is MySQL query limit 1000,10 as fast as limit 10? How to crack deep paging
Scyther工具形式化分析Woo-Lam协议
正点原子STM32F429核心板的插座型号
Relevant knowledge points of cocoapods
Codeforces 1637 E. best pair - Thinking
Use of pytorch (to be supplemented)
Dismantle and modify the advertising machine - Amateur decompression
[wustctf2020] selfie score query -1
Alibaba Cloud Development Board haas510 submission Device Properties
Alibaba cloud development board haas510 responds to UART serial port instructions
Codeforces 1637 A. sorting parts - simple thinking
Codeforces 1629 F2. Game on sum (hard version) - Yang Hui's triangle, violence, finding rules
基于Profibus-DP协议的PLC智能从站设计
简述CGI与FASTCGI区别