[Japi-devel] Hints on running JUnit unit tests from IntelliJ IDEA
Status: Beta
Brought to you by:
christianhujer
From: Christian H. <Chr...@it...> - 2006-04-13 18:19:24
|
Hello dear co-developers, here's a hint on running the JUnit unit tests from IntelliJ IDEA. If IntelliJ IDEA is configured correctly, just go to the Project Explorer -> Packages, rightclick the test package tree (currently test or test.net.sf.japi, depending on your view) and choose "Run Tests in ..." or press Ctrl+Shift+F10. Ctrl+Shift+F10 also works on other occasions. If you're inside a JUnit test class, it will execute the nearest test method. If you're inside a JUnit test class source but outside the test class or otherwise not nearby a test method, it will execute the complete JUnit test case suite of that test class. IntelliJ will then start its own testrunner and generate a nice tree. Currently we only have 3 Unit Test classes so far, but the number will hopefully grow soon :) Cu all :) -- Christian Hujer Free software developer E-Mail: Chr...@it... WWW: http://www.itcqis.com/ http://daimonin.sf.net/ |