Junit With Intellij

Intellij offers basic but adequate integration with JUnit. Test classes are recognized automatically enabling a Right-click/Run Test menu option. No clever tricks, however, like generating test stubs for existing classes. All the better for it I feel, unless you are testing someone else's code from scratch.

If textui is used to run tests stacktrace elements become clickable hyperlinks for jumping into the code when things go wrong. Although I miss the coloured bar I am afraid this is just too handy and I run all my tests in text mode now.


Intellij 3 does have a nice file templates feature. I have set up ones for TestCase, TestCase Aggregator and TestSuite Aggregator. -- MilesDaffin


See:


EditText of this page (last edited August 13, 2014) or FindPage with title or text search