Test run config created from context inherits "all tests" flag
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)
-
repo owner -
reporter Sorry, I mean to say "the generated config inherits...".
Glad to hear you'd like to fix this. It would be a mitzvah. :-)
-
repo owner - changed version to 1.8.0.4
-
repo owner Alan, I tried to reproduce this today with no luck. Here's what I did:
- Removed all unit test run configs.
- Added an <b>All Tests</b> unit test run config called "All".
- 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!
-
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.
-
reporter That sounds great. Thanks.
-
repo owner - changed status to resolved
Delivered in 1.8.0.4.
-
repo owner - changed component to Apex Unit Testing
- Log in to comment
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!