1.问题现象:
idea单元测试时,点击@test箭头,提示如下错误:
Connected to the target VM, address: '127.0.0.1:50320', transport: 'socket' org.testng.TestNGException: java.net.ConnectException: Connection timed out: connect
解决方法:
1.pom文件中升级testng版本至7.0.0即可解决
1.问题现象:
idea单元测试时,点击@test箭头,提示如下错误:
Connected to the target VM, address: '127.0.0.1:50320', transport: 'socket' org.testng.TestNGException: java.net.ConnectException: Connection timed out: connect
解决方法:
1.pom文件中升级testng版本至7.0.0即可解决