With junit jupiter, how can I test if an executable times out, and return true if it does?

前端 未结 0 486
长发绾君心
长发绾君心 2021-02-04 18:05

I want to make sure the executable runs indefinitely, but have a timeout to not hang the test. Also, because this is for study purposes, would be ideal that the test passed.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题