Junit integration and custom test classes

Is there a way to enable the junit integration for classes which don't
extend TestCase directly ? That is I have a custom class called
CustomTestCase extending TestCase. I don't get the test option in any class
which extends the CustomTestCase.

-Dash.


0
2 comments

I haven't noticed any difference between classes that directly or indirectly extend TestCase. Both can be run with the JUnit integration.

I am not sure what you mean the the test optionthough..

0

Never mind my fault. There used to be a "Test ..." option in the popup menu
along with "Run ..." "Debug ..." etc. Now seems like when you do "Run " it
finds out if this is a test class and run junit.

-Dash.

"edwin hautus" <ehautus@xs4all.nl> wrote in message
news:29523473.1061278612329.JavaMail.itn@is.intellij.net...

I haven't noticed any difference between classes that directly or

indirectly extend TestCase. Both can be run with the JUnit integration.
>

I am not sure what you mean the the test optionthough..



0

Please sign in to leave a comment.