IntelliJ IDEA 15 EAP Introduces New UI for Testing

If you’ve already given a shot to a recent IntelliJ IDEA 15 EAP build, you might have noticed changes in the UI for running tests. Today, as we’ve released a new EAP build with even more bugfixes and enhancements, the new UI is ready for preview.
IntelliJ IDEA supports a variety of test frameworks: the first was JUnit, then TestNG (developed initially by Hani and Mark) following by non-Java frameworks for Ruby, PHP, JavaScript, etc. The Java frameworks used to have one UI, and the frameworks added later introduced another one. Maintaining different UIs (as well fixing the same bugs in several places) is a mess. That’s why we’ve decided to re-write all the different UIs to share a common protocol. However we haven’t stopped there and added a few improvements to the new UI.
Inline statistics and tool window orientation
A separate table with statistics required too much space and you needed to switch it on and off. Now durations are shown right in the tree. Sorting gets available after tests have finished.
Because the console was on the right of the tree, horizontal orientation was the only one available. Now if you move the Run tool window to the left or to the right, the UI would be adjusted accordingly.
Export/import of test results and tests history
Once a tab with test results is pinned, the results would be preserved until you close them directly. But it’s very easy to forget to pin it, and to loose a lot of time re-running the tests once again. Now results are saved to the history automatically.
Test results restored from history look the same as those that were actually run, the actions remain available; and you can export/import the results to/from a file.
We hope you’ll enjoy the new UI! You’re welcome to give it a try by downloading the new build, and share your feedback with us in the EAP discussion forum and our issue tracker.
Develop with Pleasure!
Pierre says:
July 8, 2015looks nice, hopefully it comes fast to android studio
li'yan says:
July 16, 2015looks nice, hopefully it comes fast to android studio
Leandro Kersting de Freitas says:
July 17, 2015Great feature. We are all waiting for an improvement to the tests, mainly for testng. (Support with Arquillian could also be welcome).
Congratulations for the work.
Alex kool says:
October 13, 2015+1 for TestNG
Now (v14) it’s console output is terrible. Need to click on every test it tree to find log for some other test.
BTW is the logs for multi-threaded test execution supported? Do you filter them by threads?
Anna Kozlova says:
October 15, 2015There is no support for multi-threaded execution on the testng side, so we try to bind test and it’s output together but in some cases with multithreaded tests it could be wrong. Actually it should be done in the framework itself otherwise every IDE, CI, build tool would have to do it separately.
Anna
Suphutra says:
January 26, 2018Good
Alex kool says:
October 13, 2015Sorry, questions in previous post for Anna Kozlova