Test run config created from context inherits "all tests" flag

Issue #703 resolved
Alan Birchenough created an issue

Hi -

Discovered this issue this week, and it gets me every time. If you define your "All Tests" test run config using the "All Tests" checkbox, when in future you create a config from context, e.g., by selecting a test and using "Run from context", the generated context inherits the "All Tests" checkbox, and all the tests are run, not just the one in context.

Hope this helps, -- Alan Birchenough.

Comments (8)

  1. Scott Wells repo owner

    Ah, that's no good! My guess is that it'll be pretty trivial to address and I can certainly see it as a nuisance, so I'll try to get it into the next build. Thanks for reporting, Alan!

  2. Alan Birchenough reporter

    Sorry, I mean to say "the generated config inherits...".

    Glad to hear you'd like to fix this. It would be a mitzvah. :-)

  3. Scott Wells repo owner

    Alan, I tried to reproduce this today with no luck. Here's what I did:

    1. Removed all unit test run configs.
    2. Added an <b>All Tests</b> unit test run config called "All".
    3. Right-clicked on a test method and clicked <b>Create Run/Debug Configuration: methodName</b>.

    In the last step, the new run configuration is created without the <b>All Tests</b> checkbox checked and with only that method and its containing class checked.

    Can you please let me know what steps you're taking that are different from those detailed above so that I can reproduce and fix this? Thanks!

  4. Scott Wells repo owner

    Alan, I think I did manage to figure out what's going on here and hope to have a fix for it in tomorrow's build.

  5. Log in to comment