With 2.0.3, I have integrated JUnit by adding the following commands to
"Tools | IDE Options | External Tools".

JUnit (Text) - Runs JUnit on the currently selected class in text mode, for
when I want to navigate to failed tests via the output screen.

JUnit (Swing) - Runs JUnit on the currently selected class in GUI mode, for
when I want to see the test hierarchy.

Run Main - Runs the main program of the currently selected class, because I
put a "main" in my GUI testers so I can easily check to see if the screen
"looks" right (I find that aesthetics cannot be automatically tested).



I like the decision to integrate JUnit more closely in Pandora, but the way
it currently works is more cumbersome than what already exists.  If I use
Pandora's JUnit integration, I have to choose between text and swing mode,
instead of having both.  The "File | Project Properties | JUnit" screen
contains nothing but a label and a dropdown.  It seems a bit silly to use up
an entire screen for one dropdown.  Instead put both text and swing mode on
the right-click popup, as well as the "Run | JUnit Tests" screen.  That way
you do not need an extra screen on "File | Project Properties".

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to