How can I specify JUnit test dependencies?

后端 未结 6 1133
南方客
南方客 2020-12-23 09:37

Our toolkit has over 15000 JUnit tests, and many tests are known to fail if some other test fails. For example, if the method X.foo() uses functionality from Y.bar() and YTe

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 09:52

    There's a contribution to JUnit that address this: https://github.com/junit-team/junit.contrib/tree/master/assumes

提交回复
热议问题