Improvement: Testing OwnerDetails#validate exit behavior #8250
-
While working on unit test for
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, this issue was previously encountered and we came up with a solution. Take a look at some of the tests that use |
Beta Was this translation helpful? Give feedback.
-
If you set this in a test, it will throw an RuntimeException exception rather than exiting:
|
Beta Was this translation helpful? Give feedback.
Yes, this issue was previously encountered and we came up with a solution. Take a look at some of the tests that use
Main.useExit = false;