New context action: Add file to test run configuration

Issue #2392 duplicate
Piotr Kożuchowski created an issue

Selecting particular tests in long list of files in Edit Configuration is very tedious (and I know you can search for files there, but still).
It would be great if I could just select test files in the Project window, right click and select More Run/Debug → Add to Configuration

Especially when I have scope defined that shows only my changes (or changes in my branch thanks to Git Scope plugin), I could create test configuration for all my test with only a few clicks.

Comments (5)

  1. Piotr Kożuchowski reporter

    Here’s concept - this would add 3 selected test files to current configuration. Also there could be another action to create entirely new run test from the selected files.

  2. Scott Wells repo owner
    • changed status to open

    This is a nice idea. I'll definitely take a look at it for some (relatively) near-term build.

    Note that IC2 does support test execution based on testSuite metadata files, so that might be a decent workaround until something like this exists, particularly if you're okay specifying test suites at the test class (as opposed to method) level.

  3. Log in to comment