【Java】TestNG Automation测试工程如何打断点调试依赖jar包(AutomatioinBase)的源代码

1.将Automation测试工程和AutomationBase工程都import到Eclipse

2.设置 Debug Configurations...

 

 设置要调试的Class入口

 

3.在Base工程里改代码,打断点,Maven Install,不需要其他的操作了,接下来开始快乐的调试之旅吧

4.选择TestNG里配置的DebugRestAssuredBaseFramework进行调试

 

 

posted on 2022-03-20 10:20  张缤分  阅读(144)  评论(0)    收藏  举报

导航