Running all tests under a directory misbehaviour

When I run all test under a directory by right-clicking it (Run All Tests), IDEA tries also to run test related classes from project libraries (for example junit.extensions.ExceptionTestCase). How do I disable this?

1 comment
Comment actions Permalink

You don't, I'm afraid. The trick is to not select the containing directory, but instead to select your top-level package in that directory. Unless your using classes without package statements (worst practice), this will be equivalent, and not catch the ExceptionTestCase.

--Dave Griffith

0

Please sign in to leave a comment.