Can I avoid running junit tests twice in eclipse when using a TestSuite?

前端 未结 5 1245
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 13:55

I need to do some per-suite initialisation (starting a web-server). It is working fine except that when I run all tests in my project in eclipse my tests run twice. My test

5条回答
  •  自闭症患者
    2020-12-16 14:22

    do you need the suite in the first place ? depending on when you click for run all (class, package, or src/test/java), all underlying tests will be executed. So what's the point of having a suite ?

提交回复
热议问题