JUnit - stop it from exiting on finish?

Posted by waitinforatrain on Stack Overflow See other posts from Stack Overflow or by waitinforatrain
Published on 2010-03-29T20:09:52Z Indexed on 2010/03/29 20:13 UTC
Read the original article Hit count: 325

Filed under:
|
|

Hi guys,

Quick JUnit question. I'm running some unit tests that involve starting up the GUI and doing a load of stuff.

I would like to see the results after the test to confirm it visually. However, it gets to the end of the code and exits, as it should. If I want to override this, I put a breakpoint on the last line of the test. This is pretty awkward though.

Is there some option to stop it from exiting?

© Stack Overflow or respective owner

Related posts about java

Related posts about junit