在做單元測試,Debug啓動方法提示「Connected to the target VM, address: '127.0.0.1:11640', transport: 'socket'」

在做單元測試,Debug啓動方法提示「Connected to the target VM, address: ‘127.0.0.1:11640’, transport: ‘socket’」 直接上問題: 經過很長時間的排查,發現在使用Junit做單元測試時,Test方法是不可以攜帶參數的,否則就不會執行測試方法,並且不會打印任何日誌信息,只有debug調試纔會有上圖的日誌。 解決方法: 刪除測試
相關文章
相關標籤/搜索