We have some corner cases where System.exit(-1) is called:
- Duplicate test methods
- Exceptions denoted as expected but are not raised.
Need a more elegant solution so that we can cease execution of tests but ensure all after() and afterClass() methods are called.
We have some corner cases where
System.exit(-1)is called:Need a more elegant solution so that we can cease execution of tests but ensure all
after()andafterClass()methods are called.