最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - How to Run Multiple method from one @TEST method but independently - Stack Overflow

programmeradmin3浏览0评论

I wanted to run 7 Methods or Test cases from one @TEST method and I don't want to create 7 @Test

We can call all 7 methods from @TEST but problem is if first fail other 6 will skip but I wanted to run all 7 Independent to each other

I know we can use try catch but problem with try catch is, if first fail exception catch and 2nd will run but at the end of 7th method My @TEST will pass and I wont know which method fail

发布评论

评论列表(0)

  1. 暂无评论