History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16616
Type: Usability Problem Usability Problem
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: Adam Krieg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Allow separate Test folders and run only tests under that folder

Created: 06 Dec 07 17:44   Updated: 04 Apr 08 22:01
Component/s: Unit Testing. JUnit

Build: 7,364


 Description  « Hide
I have multiple test folders that are JUnit test cases for different purposes (e.g. unit tests, functional tests, etc) arranged at the same level like so:
src/com.foo...
unittests/com.foo...
functionaltests/com.foo...

(src is my source folder (the classes under test)

I would like to right-click on unittests and run all the unit tests there without running the functionaltests, but it looks like IntelliJ is just using the package names and the output directory to determine what tests to run. Since both unittests and functionaltests output to the same directory, all their tests get lumped together in the JUnitRunner's eyes. If I could assign separate output folders for the different types of tests, that would work too.



 All   Comments   Work Log   Change History      Sort Order:
scolombo - 04 Apr 08 22:01
This would be a spectacular feature to be able to run a subset of the unit tests.

It becomes a massive hassle to run all of the tests all of the time when our top 6 tests take 75% of the run-time (there are about 450 tests). When you're working on a specific subset of tasks, that extra runtime is just lost development time.

+1 for this