-
Notifications
You must be signed in to change notification settings - Fork 332
Open
Description
Description
Orchestrator has a fast path that skips test discovery if the test target is a single method:
Lines 259 to 262 in dd62f39
if (isSingleMethodTest(classArg)) { | |
Log.i(TAG, String.format("Single test parameter %s, skipping test collection", classArg)); | |
callbackLogic.addTest(classArg); | |
runFinished(); |
This doesn't work for parameterized tests, since even a single method target may expand to any number of parameterized test instances.
Steps to Reproduce
Run a parameterized test method through test orchestrator. They will all run in the same process. You can verify this by logging the PID.
Expected Results
Each instance of the parameterized test runs in its own process.
Actual Results
All of the instances of the parameterized test run in the same process.
bartekpacia
Metadata
Metadata
Assignees
Labels
No labels