如何更改Junit5的生命周期?

时间:2019-11-01 14:22:24

标签: java kotlin junit5-extension-model

我可以让BeforeTestExecutionCallback在ExecutionCondition之前运行吗?

我使用BeforeAllCallback,BeforeTestExecutionCallback,AfterTestExecutionCallback,AfterAllCallback,ExecutionCondition。现在它可以工作了:

  • 执行条件
  • BeforeAllCallback
  • 执行条件

我需要:

  • BeforeAllCallback
  • BeforeTestExecutionCallback
  • 执行条件

0 个答案:

没有答案